removed AutoCastReceiver

check subtype for receiver by AutoCastUtils.isSubTypeByAutoCast directly
 #KT-4403 Fixed
 #KT-4415 Fixed
This commit is contained in:
Svetlana Isakova
2014-01-18 23:13:31 +04:00
parent 5ef320173c
commit 9ed57a5767
14 changed files with 161 additions and 179 deletions
@@ -6433,6 +6433,16 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest("compiler/testData/diagnostics/tests/smartCasts/inference/kt4009.kt");
}
@TestMetadata("kt4403.kt")
public void testKt4403() throws Exception {
doTest("compiler/testData/diagnostics/tests/smartCasts/inference/kt4403.kt");
}
@TestMetadata("kt4415.kt")
public void testKt4415() throws Exception {
doTest("compiler/testData/diagnostics/tests/smartCasts/inference/kt4415.kt");
}
@TestMetadata("smartCastOnReceiver.kt")
public void testSmartCastOnReceiver() throws Exception {
doTest("compiler/testData/diagnostics/tests/smartCasts/inference/smartCastOnReceiver.kt");