aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/ast/untpd.scala
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/src/dotty/tools/dotc/ast/untpd.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/ast/untpd.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/src/dotty/tools/dotc/ast/untpd.scala b/compiler/src/dotty/tools/dotc/ast/untpd.scala
index 8ca91590f..c253af852 100644
--- a/compiler/src/dotty/tools/dotc/ast/untpd.scala
+++ b/compiler/src/dotty/tools/dotc/ast/untpd.scala
@@ -526,11 +526,11 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
case Function(args, body) =>
this(this(x, args), body)
case InfixOp(left, op, right) =>
- this(this(x, left), right)
+ this(this(this(x, left), op), right)
case PostfixOp(od, op) =>
- this(x, od)
+ this(this(x, od), op)
case PrefixOp(op, od) =>
- this(x, od)
+ this(this(x, op), od)
case Parens(t) =>
this(x, t)
case Tuple(trees) =>