Closed
Description
Congrats on the 0.3.0 release! I got right to work porting my https://github.com/olavfosse/context to basilisp and encountered two bugs in the process.
- Symbols containing a
:
are split into a symbol followed by a keyword. In basilisp(= ['a:b] ['a :b])
, in JVM clojure(= ['a:b] [(symbol "a:b")])
. - Basilisp crashes on expressions such as:
#?(:clj (java.util.LinkedList/.addFirst ml x)
:lpy (.appendleft ml x))
It complains that
Symbols starting with '.' may not have a namespace
This should be allowed within :clj expressions at least.
Aside from that all seems to be working great. I did a search and replace from java.util.LinkedList
to java_util_LinkedList
, and after that all my tests passed in Basilisp!
Thanks!
With friendly regards
Olav