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

selector doesn't work #28

Open
timsgardner opened this issue Aug 17, 2015 · 0 comments
Open

selector doesn't work #28

timsgardner opened this issue Aug 17, 2015 · 0 comments

Comments

@timsgardner
Copy link

(require '[gamma.api :as g])

Implementation in gamma.emit.operator implies this should work:

(g/selector (g/vec2 1) "x")

but instead throws:

gamma-tools.core=> System.Exception: Invalid literal: "x"
  at gamma/ast$literal__186.invoke (System.Object ) [0x0014e] in ast.clj:33 
  at gamma/ast$term$fn__193__197.invoke (System.Object ) [0x0003e] in ast.clj:44 
  at clojure/core$map$fn__57190__57194.invoke () [0x00199] in core.clj:2614 
  at clojure.lang.LazySeq.sval () [0x00000] in <filename unknown>:0 
  at (wrapper synchronized) clojure.lang.LazySeq:sval ()
  at clojure.lang.LazySeq.seq () [0x00000] in <filename unknown>:0 
  at (wrapper synchronized) clojure.lang.LazySeq:seq ()
  at clojure.lang.Cons.next () [0x00000] in <filename unknown>:0 
  at clojure.lang.RT.next (System.Object x) [0x00000] in <filename unknown>:0 
  at clojure/core$next__55177.invoke (System.Object ) [0x00000] in core.clj:64 
  at clojure/core$nthnext__57657.invoke (System.Object , System.Object ) [0x00085] in core.clj:3033 
  at clojure/core$print_sequential__61068.invoke (System.Object , System.Object , System.Object , System.Object , System.Object , System.Object ) [0x00257] in core_print.clj:48 
  at clojure/core$fn__61368__61372.invoke (System.Object , System.Object ) [0x00017] in core_print.clj:191 
  at clojure.lang.MultiFn.invoke (System.Object arg1, System.Object arg2) [0x00000] in <filename unknown>:0 
  at clojure/core$pr_on__58136.invoke (System.Object , System.Object ) [0x00049] in core.clj:3543 
  at clojure/core$print_map$fn__61436__61440.invoke (System.Object , System.Object ) [0x0004e] in core_print.clj:248 
  at clojure/core$print_sequential__61068.invoke (System.Object , System.Object , System.Object , System.Object , System.Object , System.Object ) [0x002fd] in core_print.clj:53 
  at clojure/core$print_map__61443.invoke (System.Object , System.Object , System.Object ) [0x00024] in core_print.clj:251 
  at clojure/core$fn__61446__61450.invoke (System.Object , System.Object ) [0x00017] in core_print.clj:255 
  at clojure.lang.MultiFn.invoke (System.Object arg1, System.Object arg2) [0x00000] in <filename unknown>:0 
  at clojure/core$pr_on__58136.invoke (System.Object , System.Object ) [0x00049] in core.clj:3543 
  at clojure/core$pr__58144.invoke (System.Object ) [0x00000] in core.clj:3555 
  at clojure.lang.AFn.ApplyToHelper (IFn fn, ISeq argList) [0x00000] in <filename unknown>:0 
  at clojure.lang.RestFn.applyTo (ISeq arglist) [0x00000] in <filename unknown>:0 
  at clojure/core$apply__55543.invoke (System.Object , System.Object ) [0x00006] in core.clj:626 
  at clojure/core$prn__58162.doInvoke (System.Object ) [0x00000] in core.clj:3588 
  at clojure.lang.RestFn.invoke (System.Object arg1) [0x00000] in <filename unknown>:0 
  at arcadia/repl$repl_eval_print$fn__28359__28363.invoke () [0x0020d] in repl.clj:63 
  at arcadia/repl$repl_eval_print__28366.invoke (System.Object , System.Object ) [0x0041e] in repl.clj:57 
  at arcadia/repl$repl_eval_string__28382.invoke (System.Object , System.Object ) [0x0002f] in repl.clj:75 
  at arcadia/repl$repl_eval_string__28382.invoke (System.Object ) [0x00000] in repl.clj:72 
  at arcadia/repl$eval_queue$fn__28390__28394.invoke () [0x00000] in repl.clj:84 
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