Make FIR/FE1.0 report similar OptIn messages

This commit is contained in:
Mikhail Glukhikh
2022-02-21 18:26:13 +03:00
committed by Space
parent b42c236fb3
commit d823020c07
7 changed files with 23 additions and 14 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
compiler/testData/cli/jvm/optInEmptyMessage.kt:8:5: error: this declaration is experimental and its usage must be marked with '@EmptyMarker' or '@OptIn(EmptyMarker::class)'
compiler/testData/cli/jvm/optInEmptyMessage.kt:8:5: error: this declaration needs OptIn. Its usage must be marked with '@EmptyMarker' or '@OptIn(EmptyMarker::class)'
foo()
^
COMPILATION_ERROR