File tree 1 file changed +3
-1
lines changed
compiler/src/dotty/tools/dotc/transform/init
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
66
66
* whole-program analysis. However, the check is not modular in terms of project boundaries.
67
67
*
68
68
*/
69
+ import Decorators .*
69
70
class Objects (using Context @ constructorOnly):
70
71
val immutableHashSetBuider : Symbol = requiredClass(" scala.collection.immutable.HashSetBuilder" )
71
72
val HashSetBuilder_rootNode : Symbol = immutableHashSetBuider.requiredValue(" rootNode" )
73
+
74
+ val whiteList = Set (HashSetBuilder_rootNode )
72
75
73
76
// ----------------------------- abstract domain -----------------------------
74
77
@@ -1685,7 +1688,6 @@ class Objects(using Context @constructorOnly):
1685
1688
end if
1686
1689
1687
1690
// class body
1688
- val whiteList = Set (HashSetBuilder_rootNode )
1689
1691
tpl.body.foreach {
1690
1692
case vdef : ValDef if ! vdef.symbol.is(Flags .Lazy ) && ! vdef.rhs.isEmpty =>
1691
1693
val sym = vdef.symbol
You can’t perform that action at this time.
0 commit comments