LV20: mute noStdLib test for K2 until the issue is resolved

K2 do not track builtins properly to provide appropriate
diagnostics yet
related to #KT-61033
This commit is contained in:
Ilya Chernikov
2023-08-09 18:00:59 +02:00
committed by Space Team
parent e3dae559d0
commit e7ff1d4cd9
-9
View File
@@ -1,15 +1,6 @@
compiler/testData/cli/jvm/noStdlib.kt:4:5: error: cannot access built-in declaration 'kotlin.String'. Ensure that you have a dependency on the Kotlin standard library
String::class.primaryConstructor
^
compiler/testData/cli/jvm/noStdlib.kt:4:19: error: unresolved reference: primaryConstructor
String::class.primaryConstructor
^
compiler/testData/cli/jvm/noStdlib.kt:6:7: error: cannot access built-in declaration 'kotlin.Unit'. Ensure that you have a dependency on the Kotlin standard library
::foo.name
^
compiler/testData/cli/jvm/noStdlib.kt:6:11: error: cannot access built-in declaration 'kotlin.reflect.KFunction0'. Ensure that you have a dependency on the Kotlin standard library
::foo.name
^
compiler/testData/cli/jvm/noStdlib.kt:7:5: error: unresolved reference: listOf
listOf(42)
^