Fix cli testdata for changed diagnostics in K2
This commit is contained in:
committed by
Space Team
parent
7b49acb490
commit
3dc1b26d83
+1
-1
@@ -1,6 +1,6 @@
|
||||
|
||||
ERR:
|
||||
hello.kt:4:5: error: unresolved reference: a
|
||||
hello.kt:4:5: error: unresolved reference 'a'.
|
||||
a
|
||||
^
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
ERR:
|
||||
noReflect.kt:5:23: warning: call uses reflection API which is not found in compilation classpath. Make sure you have kotlin-reflect.jar in the classpath
|
||||
noReflect.kt:5:23: warning: call uses reflection API which is not found in compilation classpath. Make sure you have kotlin-reflect.jar in the classpath.
|
||||
String::class.annotations
|
||||
^
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
|
||||
ERR:
|
||||
test.kt:4:13: error: classifier 'class System : Any' does not have a companion object, and thus must be initialized here
|
||||
test.kt:4:13: error: classifier 'class System : Any' does not have a companion object, so it cannot be used as an expression.
|
||||
val s = System.in
|
||||
^
|
||||
test.kt:4:20: error: syntax error: Expecting an element
|
||||
test.kt:4:20: error: syntax error: Expecting an element.
|
||||
val s = System.in
|
||||
^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user