Hi. I have a test-app written in kotlin and I've u...
# announcements
r
Hi. I have a test-app written in kotlin and I've used jruby there. When I pass a java-
Map
to ruby, then I get back a java-
Map
, when I invoke some funktion in ruby. When I constuct a hash in ruby, it's a
RubyHash
passed back to kotlin. Now, since both types are possible and a
RubyHash
does not derive from java-
Map
, I get the
(TypeError) failed to coerce java.util.LinkedHashMap to org.jruby.RubyHash
error. Can I attack this with kotlin?