-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
imported modules aren't exported #268
Copy link
Copy link
Closed
Description
If I have, in mod1:
import foo = x.y;
And then in another mod try to refer to mod1.foo.[something], I get (with rustboot) "error: the name 'foo' can't be found in the module".
Maybe this is by design, but I'd argue that it'd be very good to have this supported (and that it's not hard to support). I ran into this trying to factor out the duplicated native modules in lib/linux_os.rs and lib/macosx_os.rs.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.