Skip to content

Commit 45fae54

Browse files
committed
Retract change to loading Clojure version number introduced in the CLJCLR-198 update -- seems not necessary.
1 parent f48cd06 commit 45fae54

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

Clojure/Clojure/Lib/RT.cs

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -428,17 +428,7 @@ static RT()
428428
ScriptRuntime env = new(setup);
429429
env.GetEngine("clj");
430430

431-
// Having a problem locating the Clojure.resources.dll (dynamically generated) when running with CLR hosted in a non-managed app (such as a C++ app),
432-
// so I'm going to try loading it here, and if it fails, we'll just hope the resources are available on the standard file search path.
433-
434-
try
435-
{
436-
_versionProperties.LoadFromString(clojure.lang.Properties.Resources.version);
437-
}
438-
catch
439-
{
440-
_versionProperties.LoadFromString("0.0.0");
441-
}
431+
_versionProperties.LoadFromString(clojure.lang.Properties.Resources.version);
442432

443433
Keyword arglistskw = Keyword.intern(null, "arglists");
444434
Symbol namesym = Symbol.intern("name");

0 commit comments

Comments
 (0)