1
Fork 0

Revert "librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc"

This reverts commit a8d37af247.
This commit is contained in:
Patrick Walton 2013-01-08 19:29:16 -08:00
parent a8d37af247
commit 44ab00ee37
250 changed files with 453 additions and 1342 deletions

View file

@ -20,7 +20,6 @@ use parse::*;
use util::interner;
use core::dvec::DVec;
use core::prelude::*;
use core::str;
use core::to_str::ToStr;
use core::vec;
@ -386,8 +385,7 @@ impl protocol: gen_init {
}
}
cx.ty_path_ast_builder(path(~[cx.ident_of(~"super"),
cx.ident_of(~"__Buffer")], self.span)
cx.ty_path_ast_builder(path(~[cx.ident_of(~"__Buffer")], self.span)
.add_tys(cx.ty_vars_global(params)))
}