Closed
Description
Suppose foo.rc is compiled as a shared (library) crate, and looks like:
mod bar;
and that bar.rs looks like:
type baz = tag(a(), b(), c());
When we compile a file that looks like:
use foo;
import foo.bar;
fn main() {
let bar.baz x = bar.a(); // alternatively bar.b() or bar.c()
}
we are told
Fatal error: exception Failure("internal_check_ext_lval: ident a not found in mod item")
in response to our use of bar.a()
.
Fix whatever is wrong with tags imported from an external crate.
Metadata
Metadata
Assignees
Labels
No labels