Validate -Xjsr305 value in CLI
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
$TESTDATA_DIR$/simple.kt
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
-Xjsr305=enable
|
||||
-Xjsr305=under-migration\:stct
|
||||
-Xjsr305=@hello\:warning
|
||||
-Xjsr305=@hello\:warn
|
||||
-Xjsr305=@hello\:ignore
|
||||
-Xjsr305=strict
|
||||
-Xjsr305=ignore
|
||||
-Xjsr305=under-migration\:ignore
|
||||
-Xjsr305=under-migration\:strict
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
warning: option 'enable' for -Xjsr305 flag is deprecated. Please use 'strict' instead
|
||||
error: unrecognized -Xjsr305 value: under-migration:stct
|
||||
error: unrecognized -Xjsr305 value: @hello:warning
|
||||
error: conflict duplicating -Xjsr305 value: @hello:warn, @hello:ignore
|
||||
error: conflict duplicating -Xjsr305 value: strict, strict
|
||||
error: conflict duplicating -Xjsr305 value: strict, ignore
|
||||
error: conflict duplicating -Xjsr305 value: under-migration:ignore, under-migration:strict
|
||||
COMPILATION_ERROR
|
||||
Reference in New Issue
Block a user