Skip to content

Commit

Permalink
95% passing now
Browse files Browse the repository at this point in the history
Disabled assembly forwarding from S.P.CoreLib to Runtime.  This still should be improved in the future.
  • Loading branch information
masonwheeler committed Jan 3, 2022
1 parent 9aab2c2 commit b5b1150
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Boo.Lang.Compiler/Steps/Ecma335/TypeSystemBridge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,13 @@ public TypeSystemBridge(MetadataBuilder builder, TypeSystemServices tss, Func<IT
ValueTypeEntity = tss.ValueTypeType;
ObjectTypeEntity = tss.ObjectType;

/*
var loadedAssemblies = AppDomain.CurrentDomain.GetAssemblies();
var runtimeName = loadedAssemblies.Single(a => a.GetName().Name == "System.Runtime").GetName();
var privateAsm = loadedAssemblies.Single(a => a.GetName().Name == "System.Private.CoreLib");
var handle = HandleForAssemblyName(runtimeName);
_assemblyLookup[privateAsm] = handle;
*/

ObjectType = (TypeReferenceHandle)LookupType(tss.ObjectType);
_getValue = getValue;
Expand Down

0 comments on commit b5b1150

Please sign in to comment.