FIR: make declarations marked with 'override' implicitly open

#KT-52236 Fixed
This commit is contained in:
Steven Schäfer
2022-11-18 16:13:01 +01:00
committed by Space Team
parent 9c1a68fcec
commit 6af616d3c3
205 changed files with 638 additions and 10616 deletions
@@ -49,10 +49,10 @@ FILE: RedundantExplicitTypeChecker.kt
super<R|kotlin/Any|>()
}
public final override val x: R|kotlin/Int| = R|<local>/x|
public open override val x: R|kotlin/Int| = R|<local>/x|
public get(): R|kotlin/Int|
public final override val y: R|kotlin/Int| = R|<local>/y|
public open override val y: R|kotlin/Int| = R|<local>/y|
public get(): R|kotlin/Int|
}
@@ -14,7 +14,7 @@ FILE: RedundantVisibilityDueToOverride.kt
super<R|A|>()
}
public final override var attribute: R|kotlin/String| = this@R|/C1|.super<R|A|>.R|/A.attribute|
public open override var attribute: R|kotlin/String| = this@R|/C1|.super<R|A|>.R|/A.attribute|
public get(): R|kotlin/String|
public set(value: R|kotlin/String|): R|kotlin/Unit|
@@ -34,7 +34,7 @@ FILE: RedundantVisibilityDueToOverride.kt
super<R|B2|>()
}
public final override var attribute: R|kotlin/String| = this@R|/C2|.super<R|B2|>.R|/B2.attribute|
public open override var attribute: R|kotlin/String| = this@R|/C2|.super<R|B2|>.R|/B2.attribute|
public get(): R|kotlin/String|
public set(value: R|kotlin/String|): R|kotlin/Unit|
@@ -81,10 +81,10 @@ FILE: RedundantVisibilityModifierChecker.kt
super<R|D|>()
}
protected final override fun willRemainProtected(): R|kotlin/Unit| {
protected open override fun willRemainProtected(): R|kotlin/Unit| {
}
public final override fun willBecomePublic(): R|kotlin/Unit| {
public open override fun willBecomePublic(): R|kotlin/Unit| {
}
}
@@ -17,11 +17,11 @@ FILE: RedundantVisibilityModifierCheckerForInnerComponents.kt
super<R|Foo|>()
}
public final override var id: R|kotlin/Int| = Int(1)
public open override var id: R|kotlin/Int| = Int(1)
public get(): R|kotlin/Int|
public set(value: R|kotlin/Int|): R|kotlin/Unit|
public final override val a: R|kotlin/String| = String(rest)
public open override val a: R|kotlin/String| = String(rest)
public get(): R|kotlin/String|
}
@@ -40,7 +40,7 @@ FILE: RedundantVisibilityModifierCheckerForInnerComponents.kt
super<R|A1|>()
}
public final override var attribute: R|kotlin/String| = this@R|/C1|.super<R|A1|>.R|/A1.attribute|
public open override var attribute: R|kotlin/String| = this@R|/C1|.super<R|A1|>.R|/A1.attribute|
public get(): R|kotlin/String|
public set(value: R|kotlin/String|): R|kotlin/Unit|
@@ -63,7 +63,7 @@ FILE: RedundantVisibilityModifierCheckerForInnerComponents.kt
super<R|A2|>()
}
public final override var attribute: R|kotlin/String| = this@R|/C2|.super<R|A2|>.R|/A2.attribute|
public open override var attribute: R|kotlin/String| = this@R|/C2|.super<R|A2|>.R|/A2.attribute|
public get(): R|kotlin/String|
public set(value: R|kotlin/String|): R|kotlin/Unit|
@@ -93,7 +93,7 @@ FILE: RedundantVisibilityModifierCheckerForInnerComponents.kt
super<R|B3|>()
}
public final override var attribute: R|kotlin/String| = this@R|/C3|.super<R|B3|>.R|/B3.attribute|
public open override var attribute: R|kotlin/String| = this@R|/C3|.super<R|B3|>.R|/B3.attribute|
public get(): R|kotlin/String|
public set(value: R|kotlin/String|): R|kotlin/Unit|
@@ -123,7 +123,7 @@ FILE: RedundantVisibilityModifierCheckerForInnerComponents.kt
super<R|B4|>()
}
public final override var attribute: R|kotlin/String| = this@R|/C4|.super<R|B4|>.R|/B4.attribute|
public open override var attribute: R|kotlin/String| = this@R|/C4|.super<R|B4|>.R|/B4.attribute|
public get(): R|kotlin/String|
public set(value: R|kotlin/String|): R|kotlin/Unit|
@@ -143,7 +143,7 @@ FILE: RedundantVisibilityModifierCheckerForInnerComponents.kt
super<R|A5|>()
}
public final override var attribute: R|kotlin/String| = String(b)
public open override var attribute: R|kotlin/String| = String(b)
public get(): R|kotlin/String|
protected set(value: R|kotlin/String|): R|kotlin/Unit|