interner just uses uints, not idents with syntax context

This commit is contained in:
John Clements
2013-06-04 12:34:25 -07:00
parent ae02bf70e0
commit 3203595471
32 changed files with 225 additions and 201 deletions

View File

@@ -26,7 +26,7 @@ use core::to_bytes;
pub fn path_name_i(idents: &[ident], intr: @token::ident_interner) -> ~str {
// FIXME: Bad copies (#2543 -- same for everything else that says "bad")
str::connect(idents.map(|i| copy *intr.get(*i)), "::")
str::connect(idents.map(|i| copy *token::interner_get(i.name)), "::")
}