Details
Assignee
UnassignedUnassignedReporter
Roman SchererRoman SchererPatch
Code and TestPriority
Minor
Details
Details
Assignee
Unassigned
UnassignedReporter
Roman Scherer
Roman SchererPatch
Code and Test
Priority
Created April 21, 2016 at 10:19 PM
Updated November 20, 2017 at 12:43 PM
The str function should handle primitive JavaScript symbols produced by Symbol.for. At the moment the str function raises an exception, because it runs into some JavaScript safety checks by using implicit string coersion via (.join #js [x] "").
More info on the safety check here: http://www.2ality.com/2014/12/es6-symbols.html
This ticket is also related to:
http://dev.clojure.org/jira/browse/CLJS-1628
http://dev.clojure.org/jira/browse/CLJS-890
Calling the toString method on a symbol directly works