Details
-
Type:
Defect
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: Release 1.3
-
Fix Version/s: Release 1.6
-
Component/s: None
-
Labels:None
-
Patch:Code and Test
-
Approval:Vetted
Description
See the following examples:
user=> (defn f1 ^String [^String s] s) #'user/f1 user=> (f1 "foo") "foo" user=> (defn f2 ^long [^String s ^long i] i) #'user/f2 user=> (f2 "foo" 1) 1 user=> (defn f3 ^String [^String s ^long i] s) #'user/f3 user=> (f3 "foo" 1) AbstractMethodError user$f3.invokePrim(Ljava/lang/Object;J)Ljava/lang/Object; user/eval8 (NO_SOURCE_FILE:6)
Attachments
Activity
Alexander Taggart
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Summary | Hinting the arg vector of a primitive-taking fn with a non-primitive type results in AbstractMethodError | Hinting the arg vector of a primitive-taking fn with a non-primitive type results in AbstractMethodError when invoked |
Ben Smith-Mannschott
made changes -
| Attachment | CLJ-850-test.patch [ 10400 ] |
Ben Smith-Mannschott
made changes -
| Attachment | CLJ-850.patch [ 10411 ] |
Ben Smith-Mannschott
made changes -
| Patch | Code and Test [ 10002 ] |
Andy Fingerhut
made changes -
| Attachment | clj-850-type-hinted-fn-abstractmethoderror-patch2.txt [ 10970 ] |
Andy Fingerhut
made changes -
| Attachment | clj-850-type-hinted-fn-abstractmethoderror-patch3.txt [ 11004 ] |
Andy Fingerhut
made changes -
| Attachment | clj-850-type-hinted-fn-abstractmethoderror-patch2.txt [ 10970 ] |
Rich Hickey
made changes -
| Fix Version/s | Release 1.5 [ 10150 ] |
Rich Hickey
made changes -
| Approval | Incomplete [ 10006 ] |
Andy Fingerhut
made changes -
| Attachment | clj-850-type-hinted-fn-abstractmethoderror-patch4.txt [ 11656 ] |
Andy Fingerhut
made changes -
| Attachment | clj-850-type-hinted-fn-abstractmethoderror-patch3.txt [ 11004 ] |
Rich Hickey
made changes -
| Fix Version/s | Release 1.5 [ 10150 ] |
Ghadi Shayban
made changes -
| Attachment | CLJ-850-conform-to-invokePrim.diff [ 11769 ] |
Andy Fingerhut
made changes -
| Approval | Incomplete [ 10006 ] | Vetted [ 10003 ] |
Rich Hickey
made changes -
| Fix Version/s | Release 1.6 [ 10157 ] |