Report warning instead of error on incorrect -Xuse-experimental/-Xexperimental

#KT-27430 Fixed
 #KT-27709 Fixed
This commit is contained in:
Alexander Udalov
2018-10-26 17:44:40 +02:00
parent 43895f43d4
commit 5bc2178040
4 changed files with 26 additions and 28 deletions
+3 -3
View File
@@ -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