deprecating types after colon
This commit is contained in:
+3
-1
@@ -1,8 +1,10 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
class A {
|
||||
val a by MyProperty()
|
||||
|
||||
fun test() {
|
||||
a: Int
|
||||
checkSubtype<Int>(a)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user