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
@@ -0,0 +1,4 @@
|
||||
compiler/testData/cli/jvm/werrorWithExplicitError.kt:4:6: error: only safe (?.) or non-null asserted (!!.) calls are allowed on a nullable receiver of type String?
|
||||
t.length
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
Reference in New Issue
Block a user