Closed sherzberg closed 8 years ago
You're doing nothing wrong. This is definitely a bug.
The same thing happens when you run the following in the repl:
user => (ns xyz (use 'core))
nil
xyz => greet
ERROR:
in pixie function repl_fn
in pixie/repl.pxi at 24:24
(let [x (eval form)]
^
in internal function eval
in <unknown> at 2:1
greet
^
RuntimeException: :pixie.stdlib/AssertionException Var greet is undefined
It does not happen when you move the use
call outside of the ns
form.
(And I pushed before posting that comment.)
The problem was that this syntax (use
inside ns
) isn't supported anymore.
Ah, that makes sense! Thank you for a quick response!
I just compiled the
pixie-vm
and putdust
on my path from a fresh checkout of this repo and am having trouble getting theexample/tests
projects working. Any ideas on what I am doing wrong?However this works just fine: