Skip to content

Commit

Permalink
96% passing!
Browse files Browse the repository at this point in the history
Simpler and less error-prone way of writing external type names.
  • Loading branch information
masonwheeler committed Jan 3, 2022
1 parent b5b1150 commit b0b8162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Boo.Lang.Compiler/Steps/Ecma335/TypeSystemBridge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ internal void EnsurePropertyMapForType(IType type, PropertyDefinitionHandle hand

private EntityHandle LookupExternalType(ExternalType type)
{
var name = type.GenericInfo != null ? $"{type.Name}`{type.GenericInfo.GenericParameters.Length}" : type.Name;
var name = type.ActualType.Name;
var result = AssemblyBuilder.AddTypeReference(
GetTypeScope(type),
type.DeclaringType == null && type.ActualType.Namespace != null
Expand Down

0 comments on commit b0b8162

Please sign in to comment.