psi2ir: add test for implicit cast on values of intersection type

This commit is contained in:
Dmitry Petrov
2019-03-22 13:48:29 +03:00
parent d4525e19dd
commit 8664fc3b28
3 changed files with 158 additions and 0 deletions
@@ -1590,5 +1590,10 @@ public class IrTextTestCaseGenerated extends AbstractIrTextTestCase {
public void testIntersectionType3() throws Exception {
runTest("compiler/testData/ir/irText/types/intersectionType3.kt");
}
@TestMetadata("localVariableOfIntersectionType.kt")
public void testLocalVariableOfIntersectionType() throws Exception {
runTest("compiler/testData/ir/irText/types/localVariableOfIntersectionType.kt");
}
}
}