Skip to content

Commit

Permalink
Update compiler/src/dotty/tools/dotc/ast/TreeInfo.scala
Browse files Browse the repository at this point in the history
Co-authored-by: Dale Wijnand <[email protected]>
  • Loading branch information
odersky and dwijnand authored Sep 22, 2024
1 parent b410f30 commit 614314a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/ast/TreeInfo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ trait TypedTreeInfo extends TreeInfo[Type] { self: Trees.Instance[Type] =>
}

/** An extractor for closures, possibly typed, and possibly including the
* definition of the ananonymous def.
* definition of the anonymous def.
*/
object closure {
def unapply(tree: Tree)(using Context): Option[(List[Tree], Tree, Tree)] = tree match {
Expand Down

0 comments on commit 614314a

Please sign in to comment.