(e ast.Expr, inType super.Type)
| 671 | } |
| 672 | |
| 673 | func (t *translator) exprNullable(e ast.Expr, inType super.Type) (sem.Expr, super.Type) { |
| 674 | if e == nil { |
| 675 | return nil, super.TypeNull |
| 676 | } |
| 677 | return t.expr(e, inType) |
| 678 | } |
| 679 | |
| 680 | func (t *translator) semCaseExpr(c *ast.CaseExpr, inType super.Type) (sem.Expr, super.Type) { |
| 681 | e, exprType := t.exprNullable(c.Expr, inType) |
no test coverage detected