e9c12ab1d0
* Cleans up the algorithm * Move first pass to walk (second still folds) * Support part of a type/value namespace split (crate metadata and module indices still need to be taught about this) * Remove a few blatant inefficiencies (import tables being recreated for every lookup, most importantly)
13 lines
168 B
Rust
13 lines
168 B
Rust
// xfail-boot
|
|
// error-pattern: unresolved import: baz
|
|
import zed.bar;
|
|
import zed.baz;
|
|
mod zed {
|
|
fn bar() {
|
|
log "bar";
|
|
}
|
|
}
|
|
fn main(vec[str] args) {
|
|
bar();
|
|
}
|