diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-12-19 10:21:31 +0100 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-12-19 10:43:23 +0100 |
| commit | 60acae4df725f2e275e01d7b59cc7ecacefb5f2c (patch) | |
| tree | 3bc5fef7ff7a8fd22ae3d94e18c7c662af789121 /src/comp/syntax/ast.rs | |
| parent | 4d524b957ffbaadfee0491e740c78187c240cad0 (diff) | |
| download | rust-60acae4df725f2e275e01d7b59cc7ecacefb5f2c.tar.gz rust-60acae4df725f2e275e01d7b59cc7ecacefb5f2c.zip | |
Add type argument field to expr_path
This way, you can explicitly provide type parameters when calling a generic method. Issue #1227
Diffstat (limited to 'src/comp/syntax/ast.rs')
| -rw-r--r-- | src/comp/syntax/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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>); |
