Drop unused Fir2IrVisitor.fakeOverrideMode
This commit is contained in:
@@ -223,7 +223,7 @@ class Fir2IrConverter(
|
|||||||
converter.processFileAndClassMembers(firFile)
|
converter.processFileAndClassMembers(firFile)
|
||||||
}
|
}
|
||||||
|
|
||||||
val fir2irVisitor = Fir2IrVisitor(converter, components, conversionScope, fakeOverrideMode)
|
val fir2irVisitor = Fir2IrVisitor(converter, components, conversionScope)
|
||||||
val callGenerator = CallAndReferenceGenerator(components, fir2irVisitor, conversionScope)
|
val callGenerator = CallAndReferenceGenerator(components, fir2irVisitor, conversionScope)
|
||||||
components.callGenerator = callGenerator
|
components.callGenerator = callGenerator
|
||||||
declarationStorage.annotationGenerator = AnnotationGenerator(components)
|
declarationStorage.annotationGenerator = AnnotationGenerator(components)
|
||||||
|
|||||||
@@ -52,8 +52,7 @@ import org.jetbrains.kotlin.psi.KtForExpression
|
|||||||
class Fir2IrVisitor(
|
class Fir2IrVisitor(
|
||||||
private val converter: Fir2IrConverter,
|
private val converter: Fir2IrConverter,
|
||||||
private val components: Fir2IrComponents,
|
private val components: Fir2IrComponents,
|
||||||
private val conversionScope: Fir2IrConversionScope,
|
private val conversionScope: Fir2IrConversionScope
|
||||||
fakeOverrideMode: FakeOverrideMode
|
|
||||||
) : Fir2IrComponents by components, FirDefaultVisitor<IrElement, Any?>(), IrGeneratorContextInterface {
|
) : Fir2IrComponents by components, FirDefaultVisitor<IrElement, Any?>(), IrGeneratorContextInterface {
|
||||||
|
|
||||||
private val integerApproximator = IntegerLiteralTypeApproximationTransformer(
|
private val integerApproximator = IntegerLiteralTypeApproximationTransformer(
|
||||||
|
|||||||
Reference in New Issue
Block a user