KT-62676 [AA] Collect redundant this qualifiers in reference shortener

^KT-62676 Fixed
This commit is contained in:
Roman Golyshev
2023-10-27 16:30:13 +02:00
committed by teamcity
parent 4ca1f9d492
commit b0f15451fd
31 changed files with 412 additions and 4 deletions
@@ -5,6 +5,7 @@
package org.jetbrains.kotlin.analysis.api.impl.base.test.cases.references
import org.jetbrains.kotlin.analysis.api.components.ShortenOptions
import org.jetbrains.kotlin.analysis.api.components.ShortenStrategy
import org.jetbrains.kotlin.analysis.api.impl.base.test.cases.references.ShorteningResultsRenderer.renderShorteningResults
import org.jetbrains.kotlin.analysis.test.framework.base.AbstractAnalysisApiBasedSingleModuleTest
@@ -30,6 +31,7 @@ abstract class AbstractReferenceShortenerTest : AbstractAnalysisApiBasedSingleMo
ShortenStrategy.values().map { option ->
val shorteningsForOption = collectPossibleReferenceShorteningsInElement(
element,
shortenOptions = ShortenOptions.ALL_ENABLED,
classShortenStrategy = { option },
callableShortenStrategy = { option }
)