Skip to content

Commit

Permalink
remove unnecessary .symbol.tree
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian3k committed Apr 18, 2023
1 parent 0d2ffb5 commit fe4478b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ trait ClassLikeSupport:
): Member =
def unpackTreeToClassDef(tree: Tree): ClassDef =
def unpackApply(a: Apply) =
a.symbol.owner.tree.symbol.tree match
a.symbol.owner.tree match
case tree: ClassDef => tree

tree match
Expand Down

0 comments on commit fe4478b

Please sign in to comment.