[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,28 +1,28 @@
/methodDeclaration.kt:5:28: error: function 'assign' used for '=' overload should return 'Unit'
fun assign(v: String): String {
^
^^^^^^
/methodDeclaration.kt:9:36: error: function 'assign' used for '=' overload should return 'Unit'
fun assign(v: StringProperty): String {
^
^^^^^^
/methodDeclaration.kt:16:36: error: function 'assign' used for '=' overload should return 'Unit'
fun StringProperty.assign(v: Int): String {
^
^^^^^^
/methodDeclaration.kt:25:5: error: val cannot be reassigned
task.input = "42"
^
^^^^^^^^^^
/methodDeclaration.kt:25:16: error: function 'assign' used for '=' overload should return 'Unit'
task.input = "42"
^
/methodDeclaration.kt:26:5: error: val cannot be reassigned
task.input = 42
^
^^^^^^^^^^
/methodDeclaration.kt:26:16: error: function 'assign' used for '=' overload should return 'Unit'
task.input = 42
^
/methodDeclaration.kt:35:5: error: val cannot be reassigned
task.input = 42
^
^^^^^^^^^^
/methodDeclaration.kt:35:18: error: the integer literal does not conform to the expected type IntProperty
task.input = 42
^
^^