[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
@@ -11,17 +11,17 @@ build:
[kotlinc] -Xmx128m
[kotlinc] warning: ATTENTION!
[kotlinc] This build uses unsafe internal compiler arguments:
[kotlinc]
[kotlinc]
[kotlinc] -XXLanguage:+EnableDfaWarningsInK2
[kotlinc]
[kotlinc]
[kotlinc] This mode is not recommended for production use,
[kotlinc] as no stability/compatibility guarantees are given on
[kotlinc] compiler or generated code. Use it at your own risk!
[kotlinc]
[kotlinc]
[kotlinc] error: warnings found and -Werror specified
[kotlinc] [TestData]/test.kt:4:15: warning: this cast can never succeed.
[kotlinc] println(0 as String)
[kotlinc] ^
[kotlinc] ^^
ERR: