[IR] Simplify IrOverridingUtil
Previously, it had some internal state that was saved between calls and needed to be cleared. This state was eliminated, which makes invariants clearer and using easier. ^KT-61934
This commit is contained in:
-1
@@ -281,7 +281,6 @@ class FakeOverrideBuilder(
|
||||
|
||||
fun provideFakeOverrides(klass: IrClass, compatibilityMode: CompatibilityMode) {
|
||||
buildFakeOverrideChainsForClass(klass, compatibilityMode)
|
||||
irOverridingUtil.clear()
|
||||
haveFakeOverrides.add(klass)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user