Now imports are not re-exported unless 'export' is explicitly used.
This commit is contained in:
parent
8b141d5d37
commit
9f5dddf08c
21 changed files with 148 additions and 227 deletions
|
@ -2,10 +2,12 @@
|
|||
|
||||
mod a {
|
||||
import b::x;
|
||||
export x;
|
||||
}
|
||||
|
||||
mod b {
|
||||
import a::x;
|
||||
export x;
|
||||
|
||||
fn main() {
|
||||
auto y = x;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue