benleggiero
03/02/2018, 3:48 AMval x = (foo as? Foo<Bar>) ?: Foo<Bar>() // foo was declared as foo: FooType, where FooType is a generic constraint of Foo
I get this?
Unchecked cast: FooType to Foo<Bar>
Isn’t as?
checking stuff? Or am I misunderstanding?