[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
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user