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 d56e34f commit 5193632Copy full SHA for 5193632
compiler/src/dotty/tools/dotc/sbt/ExtractDependencies.scala
@@ -295,9 +295,9 @@ private class ExtractDependenciesCollector extends tpd.TreeTraverser { thisTreeT
295
296
private def ignoreDependency(sym: Symbol)(implicit ctx: Context) =
297
sym.eq(NoSymbol) ||
298
- sym.isEffectiveRoot ||
299
sym.isAnonymousFunction ||
300
- sym.isAnonymousClass
+ sym.isAnonymousClass ||
+ sym.is(PackageClass)
301
302
/** Traverse the tree of a source file and record the dependencies and used names which
303
* can be retrieved using `dependencies` and`usedNames`.
0 commit comments