New J2K: do not ignore long expressions in LiftReturnOrAssignmentInspection in post-processing

This commit is contained in:
Ilya Kirillov
2019-05-29 13:44:33 +03:00
parent 8fa9b9923f
commit 39dfa631bf
2 changed files with 4 additions and 3 deletions
@@ -133,7 +133,7 @@ private val processings: List<GeneralPostProcessing> = listOf(
intentionBasedProcessing(
RemoveRedundantCallsOfConversionMethodsIntention()
),
generalInspectionBasedProcessing(LiftReturnOrAssignmentInspection()),
generalInspectionBasedProcessing(LiftReturnOrAssignmentInspection(skipLongExpressions = false)),
generalInspectionBasedProcessing(MayBeConstantInspection()),
intentionBasedProcessing(RemoveEmptyPrimaryConstructorIntention()),
diagnosticBasedProcessing(Errors.PLATFORM_CLASS_MAPPED_TO_KOTLIN) { element: KtDotQualifiedExpression, _ ->