Drop unused Fir2IrVisitor.fakeOverrideMode

This commit is contained in:
Mikhail Glukhikh
2020-06-17 11:00:25 +03:00
parent 0622be14a5
commit 987cf5ef5f
2 changed files with 2 additions and 3 deletions
@@ -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(