[K1, K2, CLI] Mark whole position range of compiler diagnostics in CLI
#KT-64989
This commit is contained in:
committed by
Space Team
parent
5b11308d1b
commit
7eab4b672d
+1
-1
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user