Fix FIR IDE test data broken by 80a44986

This commit is contained in:
Mikhail Glukhikh
2021-05-01 19:12:05 +03:00
parent a1ed81146e
commit 0764a0601c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ val a = A.x
val c = B.<error descr="[UNRESOLVED_REFERENCE] Unresolved reference: x">x</error>
val d = b.<error descr="[UNRESOLVED_REFERENCE] Unresolved reference: x">x</error>
val s = System // error
val s = <error descr="[NO_COMPANION_OBJECT] Classifier 'java/lang/System' does not have a companion object, and thus must be initialized here">System</error> // error
fun test() {
System.out.println()
java.lang.System.out.println()
+1 -1
View File
@@ -26,7 +26,7 @@ fun test(l : List<Int>) {
checkSubtype<Set<Int>?>(Collections.singleton<Int>(1))
Collections.singleton<Int>(<error descr="[ARGUMENT_TYPE_MISMATCH] Argument type mismatch: actual type is kotlin/Double but ft<TypeVariable(T), TypeVariable(T)?> was expected">1.0</error>)
List<Int>
<error descr="[NO_COMPANION_OBJECT] Classifier 'kotlin/collections/List' does not have a companion object, and thus must be initialized here">List</error><Int>
val o = "sdf" as Object