(sctx *super.Context, lhs, rhs Evaluator)
| 235 | } |
| 236 | |
| 237 | func newNumeric(sctx *super.Context, lhs, rhs Evaluator) numeric { |
| 238 | return numeric{ |
| 239 | sctx: sctx, |
| 240 | lhs: lhs, |
| 241 | rhs: rhs, |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | func (n *numeric) evalAndPromote(this super.Value) (super.Value, super.Value, super.Type, *super.Value) { |
| 246 | lhsVal, rhsVal, errVal := n.eval(this) |
no outgoing calls
no test coverage detected