CompilerException java.lang.ClassFormatError: Duplicate field name&signature

Description

(fn [a-b a_b] (fn [] a_b a-b))
throws
CompilerException java.lang.ClassFormatError: Duplicate field name&signature

Environment

None

Activity

Show:
Nicola Mometto
June 20, 2019, 9:51 PM

This is caused due to how clojure munges `-` as simply `_` – another way to trigger a similar error is:

Fixing this would require changing the name munging scheme clojure has been using for the past 10 years, which could have some severe unexpected consequences, not sure how viable that would be

Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

alex

Labels

Priority

Major

Affects versions