[FIR] Eliminate obsolete NO_SUPERTYPE diagnostic from builder
This commit is contained in:
+4
-4
@@ -1,11 +1,11 @@
|
||||
fun any(a : Any) {}
|
||||
|
||||
fun notAnExpression() {
|
||||
any(<!NO_SUPERTYPE, NO_SUPERTYPE, SUPER_NOT_AVAILABLE!>super<!>) // not an expression
|
||||
if (<!NO_SUPERTYPE, NO_SUPERTYPE, SUPER_NOT_AVAILABLE!>super<!>) {} else {} // not an expression
|
||||
val x = <!NO_SUPERTYPE, NO_SUPERTYPE, NO_SUPERTYPE, SUPER_NOT_AVAILABLE!>super<!> // not an expression
|
||||
any(<!SUPER_NOT_AVAILABLE!>super<!>) // not an expression
|
||||
if (<!SUPER_NOT_AVAILABLE!>super<!>) {} else {} // not an expression
|
||||
val x = <!SUPER_NOT_AVAILABLE!>super<!> // not an expression
|
||||
when (1) {
|
||||
<!NO_SUPERTYPE, NO_SUPERTYPE, SUPER_NOT_AVAILABLE!>super<!> -> 1 // not an expression
|
||||
<!SUPER_NOT_AVAILABLE!>super<!> -> 1 // not an expression
|
||||
else -> {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user