[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
+4 -4
View File
@@ -1,13 +1,13 @@
compiler/testData/cli/jvm/firLightTree.kt:2:5: error: variable expected.
this += "Alpha"
^
^^^^
compiler/testData/cli/jvm/firLightTree.kt:3:15: error: classifier 'class System : Any' does not have a companion object, so it cannot be used as an expression.
java.lang.System = null
^
^^^^^^
compiler/testData/cli/jvm/firLightTree.kt:3:15: error: variable expected.
java.lang.System = null
^
^^^^^^
compiler/testData/cli/jvm/firLightTree.kt:3:24: error: null cannot be a value of a non-null type 'kotlin.Unit'.
java.lang.System = null
^
^^^^
COMPILATION_ERROR