-
-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
category:runtimeActual Clojure code, core libs, and all the C++ code in `jank::runtime`.Actual Clojure code, core libs, and all the C++ code in `jank::runtime`.
Milestone
Description
When we use +, *, etc. (including the promotion operators) jank doesn't make sure that the passed in values are actually numeric.
user=> (* :k)
:k
While Clojure attempts to cast the passed in value to a java.lang.Number.
user=> (* :k)
Execution error (ClassCastException) at java.lang.Class/cast (Class.java:3492).
Cannot cast clojure.lang.Keyword to java.lang.NumberMetadata
Metadata
Assignees
Labels
category:runtimeActual Clojure code, core libs, and all the C++ code in `jank::runtime`.Actual Clojure code, core libs, and all the C++ code in `jank::runtime`.