Fork me on GitHub
#interop
<
2022-03-01
>
Crispin08:03:06

the best I could come up with was ^"[Ljava.util.Map<String, Object>;" which didnt seem to work

Crispin08:03:12

Map is an interface, not a class.

Alex Miller (Clojure team)12:03:25

The generics are erased in the jvm so just ^java.util.Map is a sufficient type for the 2nd arg

👍 1
seancorfield19:03:49

@retrogradeorbit Also "[L...;" means "array of" so your type hint was sort of saying java.util.Map[]