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 c26aa8f commit 82d042fCopy full SHA for 82d042f
src/dotty/tools/dotc/core/Denotations.scala
@@ -601,7 +601,8 @@ object Denotations {
601
*/
602
private def bringForward()(implicit ctx: Context): SingleDenotation = this match {
603
case denot: SymDenotation if ctx.stillValid(denot) =>
604
- assert(ctx.runId > validFor.runId, s"denotation $denot invalid in run ${ctx.runId}. ValidFor: $validFor")
+ assert(ctx.runId > validFor.runId || ctx.settings.YtestPickler.value, // mixing test pickler with debug printing can travel back in time
605
+ s"denotation $denot invalid in run ${ctx.runId}. ValidFor: $validFor")
606
var d: SingleDenotation = denot
607
do {
608
d.validFor = Period(ctx.period.runId, d.validFor.firstPhaseId, d.validFor.lastPhaseId)
0 commit comments