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 3bdedb4 commit 8f14b8eCopy full SHA for 8f14b8e
compiler/src/dotty/tools/dotc/ast/TreeMapWithImplicits.scala
@@ -76,7 +76,7 @@ class TreeMapWithImplicits extends tpd.TreeMap {
76
packageDecl <- sym.moduleClass.asClass.info.decls.toList
77
if packageDecl.isTerm && packageDecl.name.isPackageObjectName
78
decl <- packageDecl.info.decls.toList
79
- if decl.isOneOf(GivenOrImplicit)
+ if decl.isTerm && decl.isOneOf(GivenOrImplicit)
80
do
81
nestedCtx.enter(decl)
82
nestedCtx
0 commit comments