File tree 1 file changed +4
-7
lines changed
compiler/src/dotty/tools/dotc/ast
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -947,15 +947,12 @@ object tpd extends Trees.Instance[Type] with TypedTreeInfo {
947
947
override def transform (tree : Tree )(implicit ctx : Context ): Tree = tree match {
948
948
case tree : Ident if tree.symbol.is(InlineProxy ) || (tree.symbol.is(Synthetic ) && ! tree.symbol.owner.isClass) =>
949
949
tree.symbol.defTree match {
950
- case defTree : ValOrDefDef => defTree.rhs.underlyingArgument
950
+ case defTree : ValOrDefDef => transform( defTree.rhs)
951
951
case _ => tree
952
952
}
953
- case Inlined (_, _, arg) =>
954
- arg.underlyingArgument
955
- case NamedArg (_, arg) =>
956
- arg.underlyingArgument
957
- case tree =>
958
- super .transform(tree)
953
+ case Inlined (_, _, arg) => transform(arg)
954
+ case NamedArg (_, arg) => transform(arg)
955
+ case tree => super .transform(tree)
959
956
}
960
957
}
961
958
You can’t perform that action at this time.
0 commit comments