File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
compiler/src/dotty/tools/dotc/transform/init Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,12 @@ import dotty.tools.dotc.core.Flags.AbstractOrTrait
6666 * whole-program analysis. However, the check is not modular in terms of project boundaries.
6767 *
6868 */
69+ import Decorators .*
6970class Objects (using Context @ constructorOnly):
7071 val immutableHashSetBuider : Symbol = requiredClass(" scala.collection.immutable.HashSetBuilder" )
7172 val HashSetBuilder_rootNode : Symbol = immutableHashSetBuider.requiredValue(" rootNode" )
73+
74+ val whiteList = Set (HashSetBuilder_rootNode )
7275
7376 // ----------------------------- abstract domain -----------------------------
7477
@@ -1685,7 +1688,6 @@ class Objects(using Context @constructorOnly):
16851688 end if
16861689
16871690 // class body
1688- val whiteList = Set (HashSetBuilder_rootNode )
16891691 tpl.body.foreach {
16901692 case vdef : ValDef if ! vdef.symbol.is(Flags .Lazy ) && ! vdef.rhs.isEmpty =>
16911693 val sym = vdef.symbol
You can’t perform that action at this time.
0 commit comments