"as" in binary / unary expressions now checked only for original type conversion #KT-10384 Fixed

Also #KT-10386 Fixed
This commit is contained in:
Mikhail Glukhikh
2015-12-14 17:12:10 +03:00
parent 233e8e58e8
commit 49e7417741
7 changed files with 119 additions and 0 deletions
@@ -2157,6 +2157,12 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
doTest(fileName);
}
@TestMetadata("AsInBinaryUnary.kt")
public void testAsInBinaryUnary() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/cast/AsInBinaryUnary.kt");
doTest(fileName);
}
@TestMetadata("constants.kt")
public void testConstants() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/diagnostics/tests/cast/constants.kt");