<@U0X7KEUKX> yep it is fishy the only way i got i...
# announcements
s
@adambl4 yep it is fishy the only way i got it working is
Copy code
fun test(key: Any) {
    if(key is Foo) {
        val foo = key as Foo
        val any = when (foo) {
            is Foo.Bar -> foo.smth
        }
    }
    
}