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

Metadata on vectors doesn't correctly get parsed/evaluated #448

Closed
FiV0 opened this issue Nov 24, 2020 · 0 comments
Closed

Metadata on vectors doesn't correctly get parsed/evaluated #448

FiV0 opened this issue Nov 24, 2020 · 0 comments

Comments

@FiV0
Copy link

FiV0 commented Nov 24, 2020

version
Babashka v0.2.3 REPL

platform

babashka binary on linux (ubuntu)

problem

Vars on vectors don't seem to correctly get parsed or evaluated.

repro

Babashka v0.2.3 REPL.
Use :repl/quit or :repl/exit to quit the REPL.
Clojure rocks, Bash reaches.

user=> ^{:foo 'bar} []
[]
user=> (meta *1)
{:line 2, :column 7, :end-line 2, :end-column 9, :foo (quote bar)}
user=> (-> *2 meta :foo type)
clojure.lang.PersistentList
user=> 

expected behavior

Clojure 1.10.1
user=> ^{:foo 'bar} []
[]
user=> (meta *1)
{:foo bar}
user=> (-> *2 meta :foo type)
clojure.lang.Symbol
user=> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants