[CTYP-77] Type Error Cannot invoke type: Keyword with non-literal keywords Created: 02/Oct/13 Updated: 09/Oct/13 Resolved: 09/Oct/13
|Reporter:||Gordon Syme||Assignee:||Ambrose Bonnaire-Sergeant|
(defproject clojure-programming "0.1.0-SNAPSHOT"
Using non-literal keywords for map lookup results in "Type Error Cannot invoke Keyword"
Code to reproduce:
|Comment by Gordon Syme [ 02/Oct/13 5:38 AM ]|
(get m k) and (m k) are also erroring out for me:
|Comment by Gordon Syme [ 02/Oct/13 7:27 AM ]|
The 'get' failure was due to me using an incorrect return type (should have been (U nil Number))
|Comment by Ambrose Bonnaire-Sergeant [ 09/Oct/13 8:06 PM ]|