use smart cast info while adding constraint for receiver

This commit is contained in:
Svetlana Isakova
2013-12-19 20:18:14 +04:00
parent b4dbd69d23
commit cfb7bcb73b
3 changed files with 22 additions and 0 deletions
@@ -6299,6 +6299,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest("compiler/testData/diagnostics/tests/smartCasts/inference/kt4009.kt");
}
@TestMetadata("smartCastOnReceiver.kt")
public void testSmartCastOnReceiver() throws Exception {
doTest("compiler/testData/diagnostics/tests/smartCasts/inference/smartCastOnReceiver.kt");
}
}
public static Test innerSuite() {