[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
+3
-3
@@ -1,10 +1,10 @@
|
||||
compiler/testData/cli/jvm/jsr305Migration.kt:2:19: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
|
||||
annotated.foo(null)
|
||||
^
|
||||
^^^^
|
||||
compiler/testData/cli/jvm/jsr305Migration.kt:3:19: warning: Java type mismatch: inferred type is 'kotlin.Nothing?', but 'kotlin.String' was expected.
|
||||
annotated.bar(null)
|
||||
^
|
||||
^^^^
|
||||
compiler/testData/cli/jvm/jsr305Migration.kt:4:5: warning: only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type 'kotlin.String?'.
|
||||
annotated.nullable().length
|
||||
^
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
OK
|
||||
|
||||
Reference in New Issue
Block a user