dundalek/closh

Require and quoted values in the repl broken

Opened this issue · 0 comments

For example following gives syntax error:

$ (require 'lumo.classpath)
missing ) after argument list
	 (new)
	 createScript (vm.cljs:136:10)
	 Object.runInThisContext (vm.cljs:197:10)
	 (Object.yt)
	 (Object.lumo.repl.caching_node_eval)
	 (NO_SOURCE_FILE <embedded>:5824:287)
	 z (NO_SOURCE_FILE <embedded>:5825:306)
	 (NO_SOURCE_FILE <embedded>:5820:508)
	 Function.cljs.core.trampoline.cljs$core$IFn$_invoke$arity$1 (NO_SOURCE_FILE <embedded>:1916:142)
	 Function.cljs.core.trampoline.cljs$core$IFn$_invoke$arity$variadic (NO_SOURCE_FILE <embedded>:1916:280)

It seems it related to the require only since following works:

$ (println 'hello)
hello

There seems to be a workaround, my head is spinning:

$ (eval '(require 'lumo.classpath))