diff options
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index 1ad718c29..5d0b6470e 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -1346,7 +1346,7 @@ object SymDenotations { // than this is a scope that will eventually become decls of this symbol. // And this should only happen if this is first time the scope of symbol // is computed, ie symbol yet has no future. - assert(this.nextInRun == this) + assert(this.nextInRun.validFor.code <= this.validFor.code) scope case _ => unforcedDecls.openForMutations } |