File tree 2 files changed +4
-2
lines changed
compiler/src/dotty/tools/dotc/ast
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -952,6 +952,8 @@ object tpd extends Trees.Instance[Type] with TypedTreeInfo {
952
952
}
953
953
case Inlined (_, _, arg) =>
954
954
arg.underlyingArgument
955
+ case NamedArg (_, arg) =>
956
+ arg.underlyingArgument
955
957
case tree =>
956
958
super .transform(tree)
957
959
}
Original file line number Diff line number Diff line change 1
- Term.NamedArg("arg1", Term. Apply(Term.Ident("foo"), List(Term.Literal(Constant.Int(1) ))))
2
- Term.NamedArg("arg2", Term. Apply(Term.Ident("foo"), List(Term.Literal(Constant.Int(2) ))))
1
+ Term.Apply(Term.Ident("foo"), List(Term.Literal(Constant.Int(1))))
2
+ Term.Apply(Term.Ident("foo"), List(Term.Literal(Constant.Int(2))))
3
3
Term.Apply(Term.Ident("foo"), List(Term.Literal(Constant.Int(4))))
4
4
Term.Apply(Term.Ident("foo"), List(Term.Literal(Constant.Int(3))))
You can’t perform that action at this time.
0 commit comments