[FIR] Set status.isOverride for fake overrides
Even though SO may not be correct overrides sometimes, it feels more natural to treat fake overrides as... well, "overrides". And without it we'd need to make the code in `FirOverrideChecker` less intuitive.
This commit is contained in:
committed by
Space Team
parent
afd8895e51
commit
7056ad5325
Vendored
+2
-2
@@ -1,6 +1,6 @@
|
||||
public open override [ResolvedTo(STATUS)] fun foo([ResolvedTo(STATUS)] x: R|kotlin/Int|): R|kotlin/Unit| { LAZY_BLOCK }
|
||||
|
||||
public abstract [ResolvedTo(STATUS)] [IntersectionOverrideOriginalKey=/C.foo] fun foo([ResolvedTo(STATUS)] x: R|kotlin/Int|): R|kotlin/Unit|
|
||||
public abstract override [ResolvedTo(STATUS)] [IntersectionOverrideOriginalKey=/C.foo] fun foo([ResolvedTo(STATUS)] x: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
public abstract [ResolvedTo(STATUS)] fun foo([ResolvedTo(STATUS)] x: R|kotlin/Int|): R|kotlin/Unit|
|
||||
|
||||
@@ -8,7 +8,7 @@ public abstract [ResolvedTo(STATUS)] fun foo([ResolvedTo(STATUS)] x: R|kotlin/In
|
||||
|
||||
public open override [ResolvedTo(STATUS)] fun foo([ResolvedTo(STATUS)] x: R|kotlin/String|): R|kotlin/Unit| { LAZY_BLOCK }
|
||||
|
||||
public abstract [ResolvedTo(STATUS)] [IntersectionOverrideOriginalKey=/C.foo] fun foo([ResolvedTo(STATUS)] x: R|kotlin/String|): R|kotlin/Unit|
|
||||
public abstract override [ResolvedTo(STATUS)] [IntersectionOverrideOriginalKey=/C.foo] fun foo([ResolvedTo(STATUS)] x: R|kotlin/String|): R|kotlin/Unit|
|
||||
|
||||
public abstract [ResolvedTo(STATUS)] fun foo([ResolvedTo(STATUS)] x: R|kotlin/String|): R|kotlin/Unit|
|
||||
|
||||
|
||||
Reference in New Issue
Block a user