Update CLI tests

This commit is contained in:
Mikhael Bogdanov
2021-07-15 06:27:14 +02:00
parent 1187e786f4
commit 7854e9c3d7
70 changed files with 117 additions and 188 deletions
+2 -5
View File
@@ -1,7 +1,4 @@
compiler/testData/cli/jvm/jspecifyUsage.kt:2:11: warning: type mismatch: inferred type is Nothing? but String was expected
compiler/testData/cli/jvm/jspecifyUsage.kt:2:11: error: null can not be a value of a non-null type String
a.foo(null)
^
compiler/testData/cli/jvm/jspecifyUsage.kt:3:5: warning: unsafe use of a nullable receiver of type String?
a.bar().hashCode()
^
OK
COMPILATION_ERROR