Add type argument field to expr_path

This way, you can explicitly provide type parameters when calling a
generic method.

Issue #1227
This commit is contained in:
Marijn Haverbeke 2011-12-19 10:21:31 +01:00
parent 4d524b957f
commit 60acae4df7
13 changed files with 60 additions and 16 deletions

View file

@ -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>);