sci icon indicating copy to clipboard operation
sci copied to clipboard

clojure 1.12 interop on static or member methods

Open borkdude opened this issue 1 year ago • 2 comments
trafficstars

Since Clojure 1.12, Classname/member may refer to both static and instance members. When an instance method is specified, the instance should be provided after the member and before the args. (https://github.com/clojure/clojure-site/compare/master...1.12-doc-updates#files_bucket)

borkdude avatar Feb 12 '24 16:02 borkdude

Example: (sci/eval-string "(map Integer/parseInt [\"1\", \"2\"])") (not yet working)

borkdude avatar Aug 07 '24 12:08 borkdude

Relevant tests are here: https://github.com/clojure/clojure/blob/master/test/clojure/test_clojure/method_thunks.clj

borkdude avatar Aug 12 '24 10:08 borkdude