deprecating types after colon
This commit is contained in:
@@ -15,7 +15,6 @@ fun bar() {
|
||||
val x = X
|
||||
x.foo()
|
||||
X.foo()
|
||||
(X : C).foo()
|
||||
(X <!USELESS_CAST_STATIC_ASSERT_IS_FINE!>as C<!>).foo()
|
||||
((if (1<2) X else Y) : C).foo()
|
||||
(X <!USELESS_CAST!>as C<!>).foo()
|
||||
((if (1<2) X else Y) <!USELESS_CAST!>as C<!>).foo()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user