Join Slack
Powered by
what? it won’t let me get the class of a generical...
# announcements
x
xenoterracide
06/10/2019, 4:14 PM
what? it won’t let me get the class of a generically typed instance? I tried !! in several locations,didn’t seem to fix, suggestions?
w
wcaokaze
06/10/2019, 4:16 PM
try
internal fun <DTO : Any> clean(...)
👍 2
👆 1
l
LeoColman
06/10/2019, 4:36 PM
By default I suppose it's
Any?
, right?
👌 2
r
radimir.sorokin
06/10/2019, 4:38 PM
@LeoColman
yes
Open in Slack
Previous
Next