Skip to content

Commit 143c464

Browse files
demiurg906Space Team
authored and
Space Team
committed
[Test] Reproduce KT-76957
1 parent e8cc53b commit 143c464

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
$TESTDATA_DIR$/warningSuppression.kt
2+
-d
3+
$TEMP_DIR$
4+
-Xrender-internal-diagnostic-names
5+
-Xsuppress-warning=UNCHECKED_CAST
6+
-Xwarning-level=UNCHECKED_CAST\:error
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
warning: argument "-Xsuppress-warning" is deprecated. Use "-Xwarning-level=UNCHECKED_CAST:disabled" instead
2+
error: -Xwarning-level is duplicated for warning UNCHECKED_CAST
3+
COMPILATION_ERROR

compiler/tests-integration/tests-gen/org/jetbrains/kotlin/cli/CliTestGenerated.java

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)