(e ast.Expr, scope *scope)
| 608 | } |
| 609 | |
| 610 | func expr_to_decl(e ast.Expr, scope *scope) *decl { |
| 611 | t, scope, _ := infer_type(e, scope, -1) |
| 612 | return type_to_decl(t, scope) |
| 613 | } |
| 614 | |
| 615 | //------------------------------------------------------------------------- |
| 616 | // Type inference |
no test coverage detected