Details
-
Type:
Defect
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: Release 1.3
-
Component/s: None
-
Labels:None
-
Approval:Ok
Description
Hi, after expose the problem in clojure irc and the help of @chouser, we thought my problem must be a bug.
Here the console session
user> (with-meta {:value 2} {:type Object})
No message. [Thrown class java.lang.StackOverflowError]
0: clojure.lang.PersistentHashMap$BitmapIndexedNode.index(PersistentHashMap.java:485)
1: clojure.lang.PersistentHashMap$BitmapIndexedNode.find(PersistentHashMap.java:571)
2: clojure.lang.PersistentHashMap$ArrayNode.find(PersistentHashMap.java:355)
3: clojure.lang.PersistentHashMap.entryAt(PersistentHashMap.java:129)
4: clojure.lang.Var.getThreadBinding(Var.java:334)
5: clojure.lang.Var.deref(Var.java:137)
6: clojure.lang.Var.get(Var.java:133)
7: clojure.core$pr_on.invoke(core.clj:2810)
8: clojure.lang.Var.invoke(Var.java:369)
9: clojure.lang.RT.print(RT.java:1270)
10: clojure.lang.RT.printString(RT.java:1249)
11: clojure.lang.APersistentMap.toString(APersistentMap.java:20)
Chouser pointed that is a print error, creation and use of map with meta works fine
Thank for your help!
Attachments
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Stuart Halloway [ stu ] | |
| Reporter | Assembla Importer [ importer ] | |
| Priority | Minor [ 4 ] |
| Attachment | 0435-printing-badly-typed-objects.patch [ 10193 ] | |
| Approval | Vetted | Screened |
| Approval | Screened | Ok |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Completed [ 1 ] |