Skip to content

[Bug] Dev scope issues #74

@SSlinky

Description

@SSlinky

Describe the bug

  • Parsing a document a second time causes its names to be duplicated in the scope rather than cleaned properly.
  • The name "Unknown Module" shouldn't generate a conflict with anything as it's not actually a name. Unnamed things need to have some kind of flag to avoid this. Simplest thing may be to use an "invalid scope" flag and dump it before building.
  • Name conflicts between modules should only warn as they are actually valid. Module1.Foo will not conflict with Module2.foo. They should generate an ambiguous name error when referenced without being fully qualified from a third module. When called in the same scope, they resolve correctly.

To Reproduce
Steps to reproduce the behavior:
Click around some different documents to get them to parse.

Screenshots
If applicable, add screenshots to help explain your problem.

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions