syntax: Add native module names correctly when building up the paths in the AST map

This commit is contained in:
Patrick Walton 2012-07-03 18:25:50 -07:00
parent aa909dc60a
commit 277f06dbb8

View File

@ -211,7 +211,7 @@ fn map_item(i: @item, cx: ctx, v: vt) {
cx.map.insert(nitem.id,
node_foreign_item(nitem, abi,
/* FIXME (#2543) */
@copy cx.path));
extend(cx, i.ident)));
}
}
item_class(tps, ifces, items, ctor, dtor, _) {