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.
2 parents 5a07d51 + 37aaa15 commit 7a45a4aCopy full SHA for 7a45a4a
compiler/src/dotty/tools/dotc/interactive/Interactive.scala
@@ -321,8 +321,7 @@ object Interactive {
321
val includeDeclaration = (includes & Include.definitions) != 0
322
val includeLinkedClass = (includes & Include.linkedClass) != 0
323
val predicate: NameTree => Boolean = tree =>
324
- ( tree.pos.isSourceDerived
325
- && !tree.symbol.isPrimaryConstructor
+ ( !tree.symbol.isPrimaryConstructor
326
&& (includeDeclaration || !Interactive.isDefinition(tree))
327
&& ( Interactive.matchSymbol(tree, symbol, includes)
328
|| ( includeDeclaration
0 commit comments