'is' works with generic types correctly (initial implementation of reified generics)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
class Wrapper<T>() {
|
||||
}
|
||||
|
||||
fun foo() {
|
||||
val wrapper = new Wrapper<Int>()
|
||||
return wrapper is Wrapper<String>
|
||||
}
|
||||
Reference in New Issue
Block a user