rustc: Make a note of the fact that each_path doesn't handle path nesting properly

This commit is contained in:
Patrick Walton 2012-07-03 18:30:11 -07:00
parent 277f06dbb8
commit dbbffbea9a

View File

@ -451,6 +451,9 @@ fn each_path(cdata: cmd, f: fn(path_entry) -> bool) {
// Next, go through all the paths. We will find items that we didn't know
// about before (reexports in particular).
//
// XXX: This is broken; the paths are actually hierarchical.
let outer_paths = ebml::get_doc(root, tag_paths);
let inner_paths = ebml::get_doc(outer_paths, tag_paths);
do ebml::tagged_docs(inner_paths, tag_paths_data_item) |path_doc| {