TypedRight returns the BinaryExpr's right expression as a TypedExpr.
()
| 1126 | |
| 1127 | // TypedRight returns the BinaryExpr's right expression as a TypedExpr. |
| 1128 | func (node *BinaryExpr) TypedRight() TypedExpr { |
| 1129 | return node.Right.(TypedExpr) |
| 1130 | } |
| 1131 | |
| 1132 | // ResolvedBinOp returns the resolved binary op overload; can only be called |
| 1133 | // after Resolve (which happens during TypeCheck). |