Support -Werror CLI argument to treat warnings as errors
The option is named "warningsAsErrors" in the Gradle plugin #KT-10563 Fixed
This commit is contained in:
committed by
Ilya Gorbunov
parent
897261a8a6
commit
5cbcbe4a9c
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
error: warnings found and -Werror specified
|
||||
compiler/testData/cli/jvm/werror.kt:2:6: warning: unnecessary non-null assertion (!!) on a non-null receiver of type String
|
||||
s!!
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
Reference in New Issue
Block a user