Skip to content

Commit 19f8ca2

Browse files
committed
WIP: Avoid potential assembly name clash for GenInterface
1 parent bc73d59 commit 19f8ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Clojure/Clojure/CljCompiler/GenInterface.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static Type GenerateInterface(string iName, IPersistentMap attributes, Se
4040
}
4141
else
4242
// TODO: In CLR4, should create a collectible type?
43-
context = GenContext.CreateWithExternalAssembly(iName, ".dll", false);
43+
context = GenContext.CreateWithExternalAssembly(iName+"_"+RT.nextID(), ".dll", false);
4444

4545
Type[] interfaceTypes = GenClass.CreateTypeArray(extends == null ? null : extends.seq());
4646

0 commit comments

Comments
 (0)