We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbea62e commit aa5ece3Copy full SHA for aa5ece3
compiler/src/dotty/tools/dotc/transform/TreeChecker.scala
@@ -97,7 +97,10 @@ class TreeChecker extends Phase with SymTransformer {
97
def phaseName: String = "Ycheck"
98
99
def run(implicit ctx: Context): Unit = {
100
- check(ctx.allPhases, ctx)
+ if (ctx.settings.YtestPickler.value && ctx.phase.prev.isInstanceOf[Pickler])
101
+ ctx.echo("Skipping Ycheck after pickling with -Ytest-pickler, the returned tree contains stale symbols")
102
+ else
103
+ check(ctx.allPhases, ctx)
104
}
105
106
private def previousPhases(phases: List[Phase])(implicit ctx: Context): List[Phase] = phases match {
0 commit comments