File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -1810,13 +1810,7 @@ object SymDenotations {
18101810 */
18111811 def enter (sym : Symbol , scope : Scope = EmptyScope )(implicit ctx : Context ): Unit = {
18121812 val mscope = scope match {
1813- case scope : MutableScope =>
1814- // if enter gets a scope as an argument,
1815- // than this is a scope that will eventually become decls of this symbol.
1816- // And this should only happen if this is first time the scope of symbol
1817- // is computed, ie symbol yet has no future.
1818- assert(this .nextInRun.validFor.code <= this .validFor.code)
1819- scope
1813+ case scope : MutableScope => scope
18201814 case _ => unforcedDecls.openForMutations
18211815 }
18221816 if (proceedWithEnter(sym, mscope)) {
You can’t perform that action at this time.
0 commit comments