From e3758fe321725bec4707e1b7d4fff333ba915905 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Fri, 8 Oct 2010 12:26:34 -0700 Subject: rustc: Make functions output a type, not a slot --- src/comp/front/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comp/front/ast.rs') diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index 422fd039..0b0f571c 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -129,7 +129,7 @@ type slot = rec(@ty ty, mode mode, option[slot_id] id); type input = rec(slot slot, ident ident); type _fn = rec(vec[input] inputs, - slot output, + ty output, block body); type _mod = hashmap[ident,@item]; -- cgit v1.2.3