You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The file below fails with unresolved name: foo (in the main fn). When moving the import and main out of the extra module, the problem goes away. It also does not happen if fn foo has a name different from its enclosing module.
mod foo {
fn foo() {}
}
mod blah {
import foo::*;
fn main() { foo(); }
}
The text was updated successfully, but these errors were encountered:
The file below fails with
unresolved name: foo
(in the main fn). When moving the import and main out of the extra module, the problem goes away. It also does not happen iffn foo
has a name different from its enclosing module.The text was updated successfully, but these errors were encountered: