diff options
Diffstat (limited to 'src/comp/front/parser.rs')
| -rw-r--r-- | src/comp/front/parser.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/front/parser.rs b/src/comp/front/parser.rs index 25c9f4a5..a247c824 100644 --- a/src/comp/front/parser.rs +++ b/src/comp/front/parser.rs @@ -1876,8 +1876,8 @@ impure fn parse_item_obj(parser p, ast.layer lyr) -> @ast.item { methods=meths, dtor=dtor); - auto item = ast.item_obj(ident, ob, ty_params, - p.next_def_id(), ast.ann_none); + auto odid = rec(ty=p.next_def_id(), ctor=p.next_def_id()); + auto item = ast.item_obj(ident, ob, ty_params, odid, ast.ann_none); ret @spanned(lo, hi, item); } |