[FIR] Implement flag for disabling warning on error suppression

#KT-61129
This commit is contained in:
Kirill Rakhman
2023-08-14 11:58:26 +02:00
committed by Space Team
parent c32a0a83f9
commit 969c716c76
14 changed files with 54 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
compiler/testData/cli/jvm/errorSuppression.kt:1:11: warning: this code uses error suppression for 'UNSUPPORTED'. While it might compile and work, the compiler behavior is UNSPECIFIED and WON'T BE PRESERVED. Please report your use case to the Kotlin issue tracker instead: https://kotl.in/issue
@Suppress("UNSUPPORTED")
^
OK