File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/scala/decaf/frontend/tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ trait TreeTmpl {
370370 * @param op unary operator
371371 * @param operand operand
372372 */
373- case class Unary (op : Op , operand : Expr )(implicit val annot : ExprAnnot ) extends Expr
373+ case class Unary (op : UnaryOp , operand : Expr )(implicit val annot : ExprAnnot ) extends Expr
374374
375375 /**
376376 * Binary expression.
@@ -379,7 +379,7 @@ trait TreeTmpl {
379379 * @param lhs left operand
380380 * @param rhs right operand
381381 */
382- case class Binary (op : Op , lhs : Expr , rhs : Expr )(implicit val annot : ExprAnnot ) extends Expr
382+ case class Binary (op : BinaryOp , lhs : Expr , rhs : Expr )(implicit val annot : ExprAnnot ) extends Expr
383383
384384 /**
385385 * IO expression for reading an integer from stdin: {{{ ReadInteger() }}}
You can’t perform that action at this time.
0 commit comments