Puts out burning tinderbox (oops, AST nodes don't have def_ids/anns).
This commit is contained in:
parent
84005fadbf
commit
26d8eaefa7
2 changed files with 4 additions and 5 deletions
|
@ -1734,8 +1734,7 @@ fn parse_anon_obj_field(&parser p) -> ast::anon_obj_field {
|
|||
auto ident = parse_value_ident(p);
|
||||
expect(p, token::EQ);
|
||||
auto expr = parse_expr(p);
|
||||
ret rec(mut=mut, ty=ty, expr=expr, ident=ident, id=p.next_def_id(),
|
||||
ann=p.get_ann());
|
||||
ret rec(mut=mut, ty=ty, expr=expr, ident=ident, id=p.get_id());
|
||||
}
|
||||
|
||||
fn parse_method(&parser p) -> @ast::method {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue