hi there. not sure if this a bug or me missing something obvious... please help: reify interface seems to work as expected in this case
(import java.lang.Runnable)
=> java.lang.Runnable
(reify Runnable)
=> #object[babashka.impl.java.lang.Runnable 0x1c139f39 "babashka.impl.java.lang.Runnable@1c139f39"]
but not this:
(import java.time.temporal.TemporalField)
=> java.time.temporal.TemporalField
(reify TemporalField)
java.lang.IllegalArgumentException: No matching clause: java.time.temporal.TemporalField The unfriendly message comes from a fixed list of supported reify classes in a case expression in the interpreter. We can fix this however. Issue welcome
ok thanks. will do