KT-14274: resolve type alias constructors calls in supertypes list as type alias constructors.
Support @Deprecated for type aliases, including type alias constructors.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package test
|
||||
|
||||
open class C
|
||||
|
||||
typealias CA = C
|
||||
|
||||
class D : <caret>CA()
|
||||
|
||||
// REF: (test).CA
|
||||
@@ -395,6 +395,12 @@ public class ReferenceResolveTestGenerated extends AbstractReferenceResolveTest
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("TypeAliasAsSupertypeConstructor.kt")
|
||||
public void testTypeAliasAsSupertypeConstructor() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/resolve/references/TypeAliasAsSupertypeConstructor.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("TypeAliasRHS.kt")
|
||||
public void testTypeAliasRHS() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("idea/testData/resolve/references/TypeAliasRHS.kt");
|
||||
|
||||
Reference in New Issue
Block a user