[LL FIR] support lazy resolve for fake override declarations
^KT-58727 Fixed
This commit is contained in:
committed by
Space Team
parent
4472e1ae4e
commit
ae1622d059
+2
-2
@@ -1,3 +1,3 @@
|
||||
open fun foo(): ERROR(empty body)
|
||||
open fun foo(): kotlin.Int
|
||||
|
||||
open fun bar(): kotlin.Int
|
||||
open fun bar(): kotlin.Int
|
||||
Vendored
+3
-2
@@ -17,9 +17,10 @@ KtFunctionSymbol:
|
||||
name: foo
|
||||
origin: DELEGATED
|
||||
receiverParameter: null
|
||||
returnType: KtTypeErrorType:
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
type: ERROR CLASS: empty body
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Int
|
||||
symbolKind: CLASS_MEMBER
|
||||
typeParameters: []
|
||||
valueParameters: []
|
||||
|
||||
+3
-3
@@ -2,7 +2,7 @@ fun noGeneric(): kotlin.Int
|
||||
|
||||
fun noGenericWithExplicitType(): kotlin.Int
|
||||
|
||||
fun withOuterGeneric(t: test.Foo): ERROR(empty body)
|
||||
fun withOuterGeneric(t: test.Foo): kotlin.String
|
||||
|
||||
fun withOuterGenericWithExplicitType(t: test.Foo): kotlin.String
|
||||
|
||||
@@ -10,7 +10,7 @@ fun <TT> withOwnGeneric(tt: TT): kotlin.Boolean
|
||||
|
||||
fun <TT> withOwnGenericWithExplicitType(tt: TT): kotlin.Boolean
|
||||
|
||||
fun <TT> withOuterAndOwnGeneric(t: test.Foo, tt: TT): ERROR(empty body)
|
||||
fun <TT> withOuterAndOwnGeneric(t: test.Foo, tt: TT): kotlin.Long
|
||||
|
||||
fun <TT> withOuterAndOwnGenericWithExplicitType(t: test.Foo, tt: TT): kotlin.Long
|
||||
|
||||
@@ -20,4 +20,4 @@ open fun hashCode(): kotlin.Int
|
||||
|
||||
open fun toString(): kotlin.String
|
||||
|
||||
constructor()
|
||||
constructor()
|
||||
analysis/analysis-api/testData/components/scopeProvider/memberScopeByFqName/substitutionOverride.txt
Vendored
+7
-5
@@ -93,9 +93,10 @@ KtFunctionSymbol:
|
||||
name: withOuterGeneric
|
||||
origin: SUBSTITUTION_OVERRIDE
|
||||
receiverParameter: null
|
||||
returnType: KtTypeErrorType:
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
type: ERROR CLASS: empty body
|
||||
ownTypeArguments: []
|
||||
type: kotlin/String
|
||||
symbolKind: CLASS_MEMBER
|
||||
typeParameters: []
|
||||
valueParameters: [
|
||||
@@ -330,9 +331,10 @@ KtFunctionSymbol:
|
||||
name: withOuterAndOwnGeneric
|
||||
origin: SUBSTITUTION_OVERRIDE
|
||||
receiverParameter: null
|
||||
returnType: KtTypeErrorType:
|
||||
returnType: KtUsualClassType:
|
||||
annotationsList: []
|
||||
type: ERROR CLASS: empty body
|
||||
ownTypeArguments: []
|
||||
type: kotlin/Long
|
||||
symbolKind: CLASS_MEMBER
|
||||
typeParameters: [
|
||||
KtTypeParameterSymbol(TT)
|
||||
@@ -614,4 +616,4 @@ KtConstructorSymbol:
|
||||
valueParameters: []
|
||||
visibility: Public
|
||||
getContainingModule: KtSourceModule "Sources of main"
|
||||
deprecationStatus: null
|
||||
deprecationStatus: null
|
||||
Reference in New Issue
Block a user