deprecating types after colon
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
// !CHECK_TYPE
|
||||
|
||||
data class A(<!UNUSED_PARAMETER!>x<!>: Int, var y: String)
|
||||
|
||||
fun foo(a: A) {
|
||||
a.component1() : String
|
||||
checkSubtype<String>(a.component1())
|
||||
a.<!UNRESOLVED_REFERENCE!>component2<!>()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user