File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
compiler/src/dotty/tools/dotc/ast Expand file tree Collapse file tree 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 {
952952 }
953953 case Inlined (_, _, arg) =>
954954 arg.underlyingArgument
955+ case NamedArg (_, arg) =>
956+ arg.underlyingArgument
955957 case tree =>
956958 super .transform(tree)
957959 }
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))))
33Term.Apply(Term.Ident("foo"), List(Term.Literal(Constant.Int(4))))
44Term.Apply(Term.Ident("foo"), List(Term.Literal(Constant.Int(3))))
You can’t perform that action at this time.
0 commit comments