Skip to content

Commit

Permalink
A few minor fixes to make the recent imported changes work.
Browse files Browse the repository at this point in the history
  • Loading branch information
masonwheeler committed Jan 21, 2017
1 parent 21a1370 commit 00f0b08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Boo.Lang.Compiler/Steps/EmitAssembly.cs
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@ void DefineTypes()
DefineType(type);

foreach (var type in types)
{
DefineGenericParameters(type);
DefineTypeMembers(type);
}

foreach (var type in types)
DefineTypeMembers(type);

foreach (var module in CompileUnit.Modules)
OnModule(module);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ public Constructor CreateStaticConstructor(TypeDefinition type)
public MethodInvocationExpression CreateGenericConstructorInvocation(IType classType,
IEnumerable<GenericParameterDeclaration> genericArgs)
{
var args = genericArgs.Select(gpd => new SimpleTypeReference(gpd.Name){Entity = gpd.Entity});
var args = genericArgs.Select(gpd => new SimpleTypeReference(gpd.Name){Entity = gpd.Entity}).Cast<TypeReference>();
return CreateGenericConstructorInvocation(classType, args);
}

Expand Down

0 comments on commit 00f0b08

Please sign in to comment.