Skip to content

Commit 0ab329a

Browse files
committed
Remove InfixOpBlock
And add a comment on possibly ode types returned from typedApply
1 parent 2ce92c3 commit 0ab329a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

compiler/src/dotty/tools/dotc/ast/untpd.scala

-10
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,6 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
9696
override def isEmpty = true
9797
}
9898

99-
/** A block arising from a right-associative infix operation, where, e.g.
100-
*
101-
* a +: b
102-
*
103-
* is expanded to
104-
*
105-
* { val x = a; b.+:(x) }
106-
*/
107-
class InfixOpBlock(leftOperand: Tree, rightOp: Tree) extends Block(leftOperand :: Nil, rightOp)
108-
10999
/** A block generated by the XML parser, only treated specially by
110100
* `Positioned#checkPos` */
111101
class XMLBlock(stats: List[Tree], expr: Tree) extends Block(stats, expr)

0 commit comments

Comments
 (0)