Add cast to expected type in call-based in-expression generation

#KT-20106 Fixed
This commit is contained in:
Dmitry Petrov
2017-09-05 11:42:03 +03:00
parent 081b732070
commit 21cdf9dd5b
6 changed files with 32 additions and 0 deletions
@@ -15463,6 +15463,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
doTest(fileName);
}
@TestMetadata("kt20106.kt")
public void testKt20106() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/contains/kt20106.kt");
doTest(fileName);
}
@TestMetadata("nullableInPrimitiveRange.kt")
public void testNullableInPrimitiveRange() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/ranges/contains/nullableInPrimitiveRange.kt");