librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc
This commit is contained in:
parent
3a5b641720
commit
2db3abddcd
251 changed files with 1353 additions and 454 deletions
|
@ -20,6 +20,7 @@ use parse::*;
|
|||
use util::interner;
|
||||
|
||||
use core::dvec::DVec;
|
||||
use core::prelude::*;
|
||||
use core::str;
|
||||
use core::to_str::ToStr;
|
||||
use core::vec;
|
||||
|
@ -385,7 +386,8 @@ impl protocol: gen_init {
|
|||
}
|
||||
}
|
||||
|
||||
cx.ty_path_ast_builder(path(~[cx.ident_of(~"__Buffer")], self.span)
|
||||
cx.ty_path_ast_builder(path(~[cx.ident_of(~"super"),
|
||||
cx.ident_of(~"__Buffer")], self.span)
|
||||
.add_tys(cx.ty_vars_global(params)))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue