Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REPL invocation is broken in 0.2.1 and 0.2.2 #12

Open
kumarshantanu opened this issue Feb 2, 2015 · 0 comments
Open

REPL invocation is broken in 0.2.1 and 0.2.2 #12

kumarshantanu opened this issue Feb 2, 2015 · 0 comments

Comments

@kumarshantanu
Copy link
Owner

REPL invocation is caused by the following in two versions of lein-clr:

lein-clr 0.2.0: Clojure.Main.exe -i foobar.tmp -r
lein-clr 0.2.1: Clojure.Main.exe -i foobar.tmp -e "" -r

In the latter case invoking the REPL fails with the following stack trace on Windows/.NET (not in Mono):

Unhandled Exception: clojure.lang.Compiler+CompilerException: System.InvalidOperationException: Unable to resolve symbol: -r in this context
   at clojure.lang.Compiler.ResolveIn(Namespace n, Symbol symbol, Boolean allowPrivate)
   at clojure.lang.Compiler.AnalyzeSymbol(Symbol symbol)
   at clojure.lang.Compiler.Analyze(ParserContext pcontext, Object form, String name), compiling: (NO_SOURCE_PATH:0:0) ---> System.InvalidOperationException: Unable to resolve symbol: -r in this context
   at clojure.lang.Compiler.ResolveIn(Namespace n, Symbol symbol, Boolean allowPrivate)
   at clojure.lang.Compiler.AnalyzeSymbol(Symbol symbol)
   at clojure.lang.Compiler.Analyze(ParserContext pcontext, Object form, String name)
   --- End of inner exception stack trace ---
   at clojure.lang.Compiler.Analyze(ParserContext pcontext, Object form, String name)
   at clojure.lang.Compiler.eval(Object form)
   at clojure/core$eval__14862.invoke(Object )
   at clojure/main$eval_opt__21467.invoke(Object )
   at clojure/main$initialize__21485.invoke(Object , Object )
   at clojure/main$null_opt__21531.invoke(Object , Object )
   at clojure/main$main__21569.doInvoke(Object )
   at clojure.lang.RestFn.invoke(Object arg1, Object arg2, Object arg3, Object arg4)
   at clojure.lang.Var.invoke(Object arg1, Object arg2, Object arg3, Object arg4)
   at clojure.lang.AFn.ApplyToHelper(IFn fn, ISeq argList)
   at Clojure.CljMain.Main(String[] args)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant