[FIR TEST] Update diagnostic spec test data
This commit is contained in:
Vendored
+1
-1
@@ -3,7 +3,7 @@
|
||||
// TESTCASE NUMBER: 1
|
||||
fun case_1(value_1: Any, value_2: Int): String {
|
||||
when (value_1) {
|
||||
is value_2 -> return ""
|
||||
is <!UNRESOLVED_REFERENCE!>value_2<!> -> return ""
|
||||
}
|
||||
|
||||
return ""
|
||||
|
||||
+2
-2
@@ -8,14 +8,14 @@ class Case1<AT>(val x: AT) {
|
||||
|
||||
class B(val y: AT) {
|
||||
fun case1() {
|
||||
val k: AT
|
||||
val k: <!UNRESOLVED_REFERENCE!>AT<!>
|
||||
}
|
||||
}
|
||||
|
||||
class C() {
|
||||
fun case1(x: Any) {
|
||||
when (x) {
|
||||
is AT -> println("at")
|
||||
is <!UNRESOLVED_REFERENCE!>AT<!> -> println("at")
|
||||
else -> println("else")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user