Report warning instead of error on incorrect -Xuse-experimental/-Xexperimental
#KT-27430 Fixed #KT-27709 Fixed
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
error: class org.test.NotAnAnnotation1 is not an experimental API marker annotation
|
||||
error: class org.test.NotAnAnnotation2 is not an experimental API marker annotation
|
||||
COMPILATION_ERROR
|
||||
warning: class org.test.NotAnAnnotation1 is not an experimental API marker annotation
|
||||
warning: class org.test.NotAnAnnotation2 is not an experimental API marker annotation
|
||||
OK
|
||||
|
||||
+3
-3
@@ -1,3 +1,3 @@
|
||||
error: class org.test.NotAMarker1 is not an experimental API marker annotation
|
||||
error: class org.test.NotAMarker2 is not an experimental API marker annotation
|
||||
COMPILATION_ERROR
|
||||
warning: class org.test.NotAMarker1 is not an experimental API marker annotation
|
||||
warning: class org.test.NotAMarker2 is not an experimental API marker annotation
|
||||
OK
|
||||
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
error: experimental API marker org.test.Unresolved2 is unresolved. Please make sure it's present in the module dependencies
|
||||
error: experimental API marker org.test.Unresolved1 is unresolved. Please make sure it's present in the module dependencies
|
||||
error: experimental API marker org.test.Unresolved3 is unresolved. Please make sure it's present in the module dependencies
|
||||
COMPILATION_ERROR
|
||||
warning: experimental API marker org.test.Unresolved2 is unresolved. Please make sure it's present in the module dependencies
|
||||
warning: experimental API marker org.test.Unresolved1 is unresolved. Please make sure it's present in the module dependencies
|
||||
warning: experimental API marker org.test.Unresolved3 is unresolved. Please make sure it's present in the module dependencies
|
||||
OK
|
||||
|
||||
Reference in New Issue
Block a user