Skip to content

Commit

Permalink
Also expose nested public types
Browse files Browse the repository at this point in the history
Fixes #120
  • Loading branch information
leppie committed Jan 21, 2022
1 parent 03982ea commit 5db59b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IronScheme/IronScheme/Compiler/ClrGenerators.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static Type GetTypeFast(string name)
if (!((ass is AssemblyBuilder) || ass.GetType().Name == "InternalAssemblyBuilder"))
{
t = ass.GetType(name);
if (t != null && t.IsPublic)
if (t != null && (t.IsPublic || t.IsNestedPublic))
{
return t;
}
Expand Down

0 comments on commit 5db59b7

Please sign in to comment.