Defrecord does not escape field names matching JS keywords (with/in/...)

Description

Defrecord produces code that's incompatible with ECMASCRIPT3 language:

Probably there should be some name escaping happening? I see that (defn with []) is compiled as cljs-test.core.with$. Should we do the same for records?

Environment

None

Assignee

Unassigned

Reporter

Nikita Prokopov

Labels

None

Approval

None

Patch

None

Affects versions

Priority

Minor
Configure