[LL FIR] resolve original declarations before fake
This is required to have stable resolution order to avoid concurrent modifications and correct resolution context. E.g., this commit fixes the resolution behavior of fake override for ANNOTATION_ARGUMENTS phase – now annotation argument resolves correctly. We shouldn't do additional checks in the case of fake declaration because they should be done on the original side ^KT-63042
This commit is contained in:
committed by
Space Team
parent
ab26a02d19
commit
38c959ba5a
+5
-5
@@ -43,7 +43,7 @@ FILE: [ResolvedTo(IMPORTS)] substitutionFakeOverrideFunctionScript.kts
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public abstract [ResolvedTo(STATUS)] fun R|T|.resolveMe([ResolvedTo(STATUS)] param: R|T|): R|T|
|
||||
public abstract [ResolvedTo(EXPECT_ACTUAL_MATCHING)] fun R|T|.resolveMe([ResolvedTo(EXPECT_ACTUAL_MATCHING)] param: R|T|): R|T|
|
||||
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ FILE: [ResolvedTo(IMPORTS)] substitutionFakeOverrideFunctionScript.kts
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public abstract [ResolvedTo(STATUS)] fun R|T|.resolveMe([ResolvedTo(STATUS)] param: R|T|): R|T|
|
||||
public abstract [ResolvedTo(CONTRACTS)] fun R|T|.resolveMe([ResolvedTo(CONTRACTS)] param: R|T|): R|T|
|
||||
|
||||
}
|
||||
|
||||
@@ -93,7 +93,7 @@ FILE: [ResolvedTo(IMPORTS)] substitutionFakeOverrideFunctionScript.kts
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public abstract [ResolvedTo(STATUS)] fun R|T|.resolveMe([ResolvedTo(STATUS)] param: R|T|): R|T|
|
||||
public abstract [ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] fun R|T|.resolveMe([ResolvedTo(IMPLICIT_TYPES_BODY_RESOLVE)] param: R|T|): R|T|
|
||||
|
||||
}
|
||||
|
||||
@@ -118,7 +118,7 @@ FILE: [ResolvedTo(IMPORTS)] substitutionFakeOverrideFunctionScript.kts
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public abstract [ResolvedTo(STATUS)] fun R|T|.resolveMe([ResolvedTo(STATUS)] param: R|T|): R|T|
|
||||
public abstract [ResolvedTo(ANNOTATION_ARGUMENTS)] fun R|T|.resolveMe([ResolvedTo(ANNOTATION_ARGUMENTS)] param: R|T|): R|T|
|
||||
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ FILE: [ResolvedTo(IMPORTS)] substitutionFakeOverrideFunctionScript.kts
|
||||
LAZY_super<R|kotlin/Any|>
|
||||
}
|
||||
|
||||
public abstract [ResolvedTo(STATUS)] fun R|T|.resolveMe([ResolvedTo(STATUS)] param: R|T|): R|T|
|
||||
public abstract [ResolvedTo(ANNOTATION_ARGUMENTS)] fun R|T|.resolveMe([ResolvedTo(ANNOTATION_ARGUMENTS)] param: R|T|): R|T|
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user