Frontend bits for #2317, general const-expr classification.

This commit is contained in:
Graydon Hoare 2012-07-30 19:05:56 -07:00
parent bf8c773936
commit 290f079474
5 changed files with 208 additions and 1 deletions

View file

@ -469,6 +469,9 @@ fn id_visitor(vfn: fn@(node_id)) -> visit::vt<()> {
vfn(e.id);
},
visit_expr_post: fn@(_e: @expr) {
},
visit_ty: fn@(t: @ty) {
alt t.node {
ty_path(_, id) {