[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,31 +1,31 @@
/noAnnotation.kt:17:5: error: val cannot be reassigned
task.input = "OK"
^
^^^^^^^^^^
/noAnnotation.kt:17:18: error: type mismatch: inferred type is String but StringProperty was expected
task.input = "OK"
^
^^^^
/noAnnotation.kt:18:5: error: val cannot be reassigned
task.input = StringProperty("OK")
^
^^^^^^^^^^
/noAnnotation.kt:20:9: error: val cannot be reassigned
input = "OK"
^
^^^^^
/noAnnotation.kt:20:17: error: type mismatch: inferred type is String but StringProperty was expected
input = "OK"
^
^^^^
/noAnnotation.kt:23:9: error: val cannot be reassigned
input = StringProperty("OK")
^
^^^^^
/noAnnotation.kt:25:5: error: val cannot be reassigned
task.input = 42
^
^^^^^^^^^^
/noAnnotation.kt:25:18: error: the integer literal does not conform to the expected type StringProperty
task.input = 42
^
^^
/noAnnotation.kt:27:9: error: val cannot be reassigned
input = 42
^
^^^^^
/noAnnotation.kt:27:17: error: the integer literal does not conform to the expected type StringProperty
input = 42
^
^^