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

Set and map literals should check for duplicate keys #209

Open
frenchy64 opened this issue Jan 30, 2025 · 1 comment
Open

Set and map literals should check for duplicate keys #209

frenchy64 opened this issue Jan 30, 2025 · 1 comment

Comments

@frenchy64
Copy link
Contributor

;;jank
clojure.core=> #{1 1}
#{1}
clojure.core=> {1 1 1 1}
{1 1}

;;clj
user=> #{1 1}
Syntax error reading source at (REPL:1:7).
Duplicate key: 1
user=> {1 1 1 1}
Syntax error reading source at (REPL:2:10).
Duplicate key: 1
@jeaye
Copy link
Member

jeaye commented Jan 30, 2025

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