Navigation: Resolve typealiased SAM-references to type alias declaration

#KT-15302 Fixed
This commit is contained in:
Alexey Sedunov
2018-02-26 15:02:45 +03:00
parent 5bff4b9f39
commit 4609b2ae37
9 changed files with 45 additions and 3 deletions
@@ -1285,6 +1285,12 @@ public class RenameTestGenerated extends AbstractRenameTest {
doTest(fileName);
}
@TestMetadata("samConstructorTypeAlias/samConstructorTypeAlias.test")
public void testSamConstructorTypeAlias_SamConstructorTypeAlias() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/refactoring/rename/samConstructorTypeAlias/samConstructorTypeAlias.test");
doTest(fileName);
}
@TestMetadata("secondaryCnstructorParameterRedeclaration/secondaryConstructorParameterRedeclaration.test")
public void testSecondaryCnstructorParameterRedeclaration_SecondaryConstructorParameterRedeclaration() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/refactoring/rename/secondaryCnstructorParameterRedeclaration/secondaryConstructorParameterRedeclaration.test");