From fc5a32aafb7db0214436404debc5b6d066cd4575 Mon Sep 17 00:00:00 2001 From: Ramsey Nasser Date: Tue, 20 Mar 2018 12:48:32 -0400 Subject: [PATCH] Replace slashes in InitClassName with dollar signs Gets around Mono bug where types with slashes in their name cannot be found --- Clojure/Clojure/CljCompiler/Compiler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Clojure/Clojure/CljCompiler/Compiler.cs b/Clojure/Clojure/CljCompiler/Compiler.cs index 271361f6d..d57dcc995 100644 --- a/Clojure/Clojure/CljCompiler/Compiler.cs +++ b/Clojure/Clojure/CljCompiler/Compiler.cs @@ -1465,7 +1465,7 @@ public static string IsCompilingSuffix() internal static string InitClassName(string sourcePath) { - return "__Init__$" + sourcePath.Replace(".", "/"); + return "__Init__$" + sourcePath.Replace(".", "/").Replace("/", "$"); } public static void PushNS()