1
Fork 0

Now imports are not re-exported unless 'export' is explicitly used.

This commit is contained in:
Paul Stansifer 2011-05-31 18:24:06 -07:00
parent 8b141d5d37
commit 9f5dddf08c
21 changed files with 148 additions and 227 deletions

View file

@ -2,10 +2,12 @@
mod a {
import b::x;
export x;
}
mod b {
import a::x;
export x;
fn main() {
auto y = x;