Proper errors for cases like 'is Map' supported in 'when'

This commit is contained in:
Andrey Breslav
2012-11-27 21:09:17 +04:00
parent 85f7b4069f
commit 304926005f
15 changed files with 115 additions and 1 deletions
@@ -1774,6 +1774,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/generics/RawTypeInIsExpression.kt");
}
@TestMetadata("RawTypeInIsPattern.kt")
public void testRawTypeInIsPattern() throws Exception {
doTest("compiler/testData/diagnostics/tests/generics/RawTypeInIsPattern.kt");
}
@TestMetadata("RecursiveUpperBoundCheck.kt")
public void testRecursiveUpperBoundCheck() throws Exception {
doTest("compiler/testData/diagnostics/tests/generics/RecursiveUpperBoundCheck.kt");