Details
-
Type:
Enhancement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
For complex keys in maps pr-str should be sufficient and sets could just become JS arrays.
Here is a first version.
The tests could be improved, let met know if that is necessary (almost 3am for me, I could work on that tomorrow evening).
https://github.com/mpenet/clojurescript/commit/d10b08fa147374118e98e98fdffd9c61f95f9747.patch
It would also be helpful if someone could run the tests against JSCore for me. Thanks!
edit: I changed the patch to do whitelisting instead of blacklisting of types in
key>js, it should be safer and provide sane default for unknown js objects.key>js, it should be safer and provide sane default for unknown js objects.