Skip to content

import segregation #3

@andrewrk

Description

@andrewrk
  • In /my/project/path if I import "std.zig" which is in /usr/lib/zig/lib/std.zig, and then "std.zig" wants to import its own dependencies, those should be looking in the /usr/lib/zig/lib/ root, and not searching /my/project/path.
  • If a.zig imports b.zig and then b.zig imports c.zig, a.zig should not see c.zig symbols.
  • Ability to import into a namespace in addition to importing all. `import a = "a.zig";
  • rename use to import ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSolving this issue will likely involve adding new logic or components to the codebase.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions