File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
fir/entrypoint/src/org/jetbrains/kotlin/fir/pipeline
ir/backend.common/src/org/jetbrains/kotlin/backend/common/phaser Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -345,6 +345,7 @@ private class Fir2IrPipeline(
345
345
irBuiltIns,
346
346
phaseName = " " ,
347
347
IrValidatorConfig (checkUnboundSymbols = true )
348
+ .withBasicChecks()
348
349
)
349
350
}
350
351
}
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ abstract class IrValidationPhase<Context : LoweringContext>(val context: Context
39
39
40
40
abstract class IrValidationBeforeLoweringPhase <Context : LoweringContext >(context : Context ) : IrValidationPhase<Context>(context) {
41
41
override val defaultValidationConfig: IrValidatorConfig
42
- get() = IrValidatorConfig (checkTreeConsistency = true , checkUnboundSymbols = true )
42
+ get() = IrValidatorConfig (checkTreeConsistency = true )
43
43
.withBasicChecks()
44
44
.withCheckers(IrValueAccessScopeChecker )
45
45
// .withTypeChecks() // TODO: Re-enable checking types (KT-68663)
@@ -89,6 +89,7 @@ class IrValidationAfterInliningAllFunctionsOnTheSecondStagePhase<Context : Lower
89
89
) : IrValidationPhase<Context>(context) {
90
90
override val defaultValidationConfig: IrValidatorConfig
91
91
get() = IrValidatorConfig (checkTreeConsistency = true )
92
+ .withBasicChecks()
92
93
// .withTypeChecks() // TODO: Re-enable checking types (KT-68663)
93
94
.applyIf(context.configuration.enableIrVisibilityChecks) {
94
95
withCheckers(IrVisibilityChecker , IrCrossFileFieldUsageChecker , IrValueAccessScopeChecker )
@@ -112,4 +113,5 @@ class IrValidationAfterInliningAllFunctionsOnTheFirstStagePhase<Context : Loweri
112
113
open class IrValidationAfterLoweringPhase <Context : LoweringContext >(context : Context ) : IrValidationPhase<Context>(context) {
113
114
override val defaultValidationConfig: IrValidatorConfig
114
115
get() = IrValidatorConfig (checkTreeConsistency = true )
116
+ .withBasicChecks()
115
117
}
You can’t perform that action at this time.
0 commit comments