<@U5G56CL87> and the `as T`-cast is needed, becaus...
# codereview
a
@antoin_m and the
as T
-cast is needed, because the return type of your
when
is
Vec
and not
T
Kotlin compiler would need to take the surroundings into account when analyzing a
when
-expression, but yes thats theoretically possible
a
I see, thanks guys! I’ll hope for this to be fixed one day even though there are probably bigger issues 😉