Join Slack
Powered by
<@U4A6BK0N4> I guess the answer would have been mo...
# getting-started
o
okkero
02/28/2017, 11:53 AM
@aslan
I guess the answer would have been more obvious if the Java declaration had been more correctly written as
Map<String, Class<?>> hm = new HashMap<>();
(notice the wildcard)
a
aslan
02/28/2017, 12:38 PM
okkero: yes, got it. but i ignored it, because it was syntactically correct, except a warning
o
okkero
02/28/2017, 12:41 PM
I see. Well, Kotlin has no direct equivalent to raw types, but a star projected type is close enough 🙂
Open in Slack
Previous
Next