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 d27adbe commit cfaf6f0Copy full SHA for cfaf6f0
compiler/src/dotty/tools/dotc/ast/tpd.scala
@@ -741,9 +741,8 @@ object tpd extends Trees.Instance[Type] with TypedTreeInfo {
741
def traverse(tree: Tree)(implicit ctx: Context): Unit = {
742
tree match {
743
case _: DefTree => if(tree.symbol ne NoSymbol) localOwners += tree.symbol
744
- case _ =>
+ case _ => traverseChildren(tree)
745
}
746
- traverseChildren(tree)
747
748
749
traverser.traverse(tree)
0 commit comments