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 eebdcba commit 29ddc17Copy full SHA for 29ddc17
compiler/src/dotty/tools/dotc/transform/TreeChecker.scala
@@ -160,8 +160,8 @@ class TreeChecker extends Phase with SymTransformer {
160
161
class Checker(phasesToCheck: Seq[Phase]) extends ReTyper with Checking {
162
163
- private val nowDefinedSyms = new mutable.HashSet[Symbol]
164
- private val patBoundSyms = new mutable.HashSet[Symbol]
+ private val nowDefinedSyms = util.HashSet[Symbol]()
+ private val patBoundSyms = util.HashSet[Symbol]()
165
private val everDefinedSyms = MutableSymbolMap[untpd.Tree]()
166
167
// don't check value classes after typer, as the constraint about constructors doesn't hold after transform
0 commit comments