Check function name in isGenericToArray/isNonGenericToArray

#KT-24427 Fixed
This commit is contained in:
Alexander Udalov
2018-05-24 15:16:57 +02:00
parent 92d848b6e6
commit 9c5256434c
5 changed files with 33 additions and 2 deletions
@@ -20585,6 +20585,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/toArray"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
}
@TestMetadata("incorrectToArrayDetection.kt")
public void testIncorrectToArrayDetection() throws Exception {
runTest("compiler/testData/codegen/box/toArray/incorrectToArrayDetection.kt");
}
@TestMetadata("kt3177-toTypedArray.kt")
public void testKt3177_toTypedArray() throws Exception {
runTest("compiler/testData/codegen/box/toArray/kt3177-toTypedArray.kt");