AA FE1.0: don't return psi for fake overrides
This commit is contained in:
committed by
Ilya Kirillov
parent
25f7554a31
commit
79686ba242
+1
-1
@@ -51,7 +51,7 @@ public interface KtMemberSymbolProviderMixin : KtAnalysisSessionMixIn {
|
||||
* in `A` that takes the type parameter `T`. Given such a derived symbol, [originalOverriddenSymbol] recovers the original declared
|
||||
* symbol.
|
||||
*
|
||||
* Such situation can also happens for intersection symbols (in case of multiple super types containing symbols with identical signature
|
||||
* Such situation can also happen for intersection symbols (in case of multiple super types containing symbols with identical signature
|
||||
* after specialization) and delegation.
|
||||
*/
|
||||
public val KtCallableSymbol.originalOverriddenSymbol: KtCallableSymbol?
|
||||
|
||||
@@ -95,7 +95,8 @@ public enum class KtSymbolOrigin {
|
||||
* interface B : A<Int> { }
|
||||
* ```
|
||||
*
|
||||
* The B will have a member B.foo(): Int, this member is generated inside interface B with substtution T -> Int, such members are SUBSTITUTION_OVERRIDE
|
||||
* The B will have a member B.foo(): Int, this member is generated inside interface B with substitution T -> Int,
|
||||
* such members are SUBSTITUTION_OVERRIDE
|
||||
*/
|
||||
SUBSTITUTION_OVERRIDE,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user