Details
-
Type:
Defect
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Any
-
Patch:Code and Test
Description
When printing a Record it is currently printed without the proper namespace.
(ns dummy)
(defrecord Foo [bar])
(pr-str (Foo. "bar"))
will print as "#dummy.Foo{..." in CLJ but "#Foo{..." in CLJS.
The attached patch fixes the implementation as well as the "incorrect" test.
Attachments
Activity
Thomas Heller
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | cljs-print-record-with-namespace.patch [ 11839 ] |
Thomas Heller
made changes -
| Attachment | cljs-print-record-with-namespace.patch [ 11875 ] |
David Nolen
made changes -
| Resolution | Completed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |