Files
Nikolay Lunyak 7056ad5325 [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.
2024-02-15 16:10:13 +00:00

21 lines
432 B
Plaintext
Vendored

FILE: test.kt
public final class B : R|A| {
public constructor(): R|B| {
super<R|A|>()
}
public open override fun foo(): R|B| {
^foo this@R|/B|
}
public final override fun bar(): R|B| {
^bar this@R|/B|
}
public final fun test(): R|kotlin/Unit| {
this@R|/B|.R|/B.foo|()
this@R|/B|.R|/B.bar|()
}
}