Skip to content

Commit e86b1b8

Browse files
committed
Fix outdated doc
1 parent 8213555 commit e86b1b8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

compiler/src/dotty/tools/dotc/interactive/Interactive.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,10 @@ object Interactive {
324324

325325
/** Find named trees with a non-empty position satisfying `treePredicate` in `trees`.
326326
*
327-
* @param includeReferences If true, include references and not just definitions
327+
* @param trees The trees to inspect.
328+
* @param include Whether to include references, definitions, etc.
329+
* @param treePredicate An additional predicate that the trees must match.
330+
* @return The trees with a non-empty position satisfying `treePredicate`.
328331
*/
329332
def namedTrees(trees: List[SourceTree],
330333
include: Include.Set,

0 commit comments

Comments
 (0)