From 60acae4df725f2e275e01d7b59cc7ecacefb5f2c Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Mon, 19 Dec 2011 10:21:31 +0100 Subject: Add type argument field to expr_path This way, you can explicitly provide type parameters when calling a generic method. Issue #1227 --- src/comp/syntax/ast.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/comp/syntax/ast.rs') diff --git a/src/comp/syntax/ast.rs b/src/comp/syntax/ast.rs index b7af23e9dd5..0b3a03c6b1a 100644 --- a/src/comp/syntax/ast.rs +++ b/src/comp/syntax/ast.rs @@ -238,7 +238,7 @@ tag expr_ { expr_assign(@expr, @expr); expr_swap(@expr, @expr); expr_assign_op(binop, @expr, @expr); - expr_field(@expr, ident); + expr_field(@expr, ident, [@ty]); expr_index(@expr, @expr); expr_path(@path); expr_fail(option::t<@expr>); -- cgit 1.4.1-3-g733a5