[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
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
/inconsistentTypeInference.kt:7:17: error: constraint error in receiver type argument: inferred type is String but Int was expected
|
||||
println(plus(1)[0])
|
||||
^
|
||||
^^^^
|
||||
|
||||
|
||||
Vendored
+2
-1
@@ -1,3 +1,4 @@
|
||||
/inconsistentTypeInference2.kt:7:17: error: type mismatch: inferred type is String but Int was expected
|
||||
println(this.plus(1)[0])
|
||||
^
|
||||
^^^^
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
/upperBoundViolation.kt:9:9: error: upper bound violation for generic parameter `T` of `printGenericNumber`: String is not a subtype of Number
|
||||
printGenericNumber(this[0])
|
||||
^
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user