[K1, K2, CLI] Mark whole position range of compiler diagnostics in CLI

#KT-64989
This commit is contained in:
Evgeniy.Zhelenskiy
2024-01-15 21:36:56 +01:00
committed by Space Team
parent 5b11308d1b
commit 7eab4b672d
278 changed files with 929 additions and 907 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
compiler/testData/cli/js/compilationErrorK2.kt:9:13: error: cannot access 'companion object Test : Any': it is private in '/Foo'.
Foo.Test
^
^^^^
COMPILATION_ERROR
@@ -10,7 +10,7 @@ compiler or generated code. Use it at your own risk!
compiler/testData/cli/jvm/firMultiplatformCompilationWithError/common.kt:7:1: error: class 'CommonClass' is not abstract and does not implement abstract member 'foo'.
class CommonClass : B
^
^^^^^^^^^^^^^^^^^
compiler/testData/cli/jvm/firMultiplatformCompilationWithError/jvm.kt:1:18: error: 'actual interface A : Any' has no corresponding members for expected class members:
expect fun foo(): Unit
+2 -2
View File
@@ -1,4 +1,4 @@
compiler/testData/cli/kotlinPackage.kt:1:1: error: only the Kotlin standard library is allowed to use the 'kotlin' package
package kotlin.mylibrary
^
COMPILATION_ERROR
^^^^^^^^^^^^^^^^^^^^^^^^
COMPILATION_ERROR
+1 -1
View File
@@ -1,5 +1,5 @@
warning: language version 1.5 is deprecated and its support will be removed in a future version of Kotlin
compiler/testData/cli/js/languageVersion.kt:5:23: error: KSuspendFunctionN interfaces are not allowed as supertypes
abstract class Some : KSuspendFunction0<Unit>
^
^^^^^^^^^^^^^^^^^^^^^^^
COMPILATION_ERROR