Paul Griffith
05/27/2021, 10:58 PMget
makes sense, but some of the data I have to pass in are arrays. I can manually 'up' cast to Any, but I'm curious if there's any other possibility.Nir
05/27/2021, 11:08 PMephemient
05/27/2021, 11:23 PMPaul Griffith
05/27/2021, 11:24 PMthing[arg, arg]
Paul Griffith
05/27/2021, 11:24 PMget
I can write the test case (in Kotlin) and it looks exactly like the real case (in proprietary DSL)ephemient
05/27/2021, 11:25 PMget
Paul Griffith
05/27/2021, 11:25 PMget(arg)
and get(arg, arg)
- you're right that the latter 'just works'ephemient
05/27/2021, 11:28 PMYoussef Shoaib [MOD]
06/03/2021, 1:03 AM@kotlin.internal.HidesMembers
but you need to shadow that annotation using the instructions provided hereephemient
06/03/2021, 1:10 AMcompileOnly
. seems quite dangerous here, especially since OP (presumably) still needs some way to call the original get
method…