[FIR] Return scope session from LowLevelFirAnalyzerFacade instead of failing
This is needed for proper work of FirScopeDumpHandler for low level fir tests
This commit is contained in:
+2
-1
@@ -26,7 +26,8 @@ class LowLevelFirAnalyzerFacade(
|
|||||||
val allFirFiles: Map<TestFile, FirFile>,
|
val allFirFiles: Map<TestFile, FirFile>,
|
||||||
private val diagnosticCheckerFilter: DiagnosticCheckerFilter,
|
private val diagnosticCheckerFilter: DiagnosticCheckerFilter,
|
||||||
) : AbstractFirAnalyzerFacade() {
|
) : AbstractFirAnalyzerFacade() {
|
||||||
override val scopeSession: ScopeSession get() = shouldNotBeCalled()
|
override val scopeSession: ScopeSession
|
||||||
|
get() = ScopeSession()
|
||||||
|
|
||||||
override fun runCheckers(): Map<FirFile, List<KtDiagnostic>> {
|
override fun runCheckers(): Map<FirFile, List<KtDiagnostic>> {
|
||||||
findSealedInheritors()
|
findSealedInheritors()
|
||||||
|
|||||||
Reference in New Issue
Block a user