Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple exports of the same module #3897

Merged
merged 3 commits into from
Nov 23, 2022

Commits on Nov 23, 2022

  1. Allow multiple exports of the same module

    Previously, when exporting the same module multiple times only the first
    statement would count and the rest would be discarded by the compiler.
    
    This change allows for multiple exports of the same module e.g.,
    ```
    export project.F1
    from project.F1 export foo
    ```
    Multiple exports may however lead to conflicts when combined with hiding
    names. Added logic in `ImportResolver` to detect such scenarios.
    
    This fixes https://www.pivotaltracker.com/n/projects/2539304/stories/183092447
    hubertp committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    e4a64d2 View commit details
    Browse the repository at this point in the history
  2. Minor renames

    hubertp committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    1493093 View commit details
    Browse the repository at this point in the history
  3. update changelog

    hubertp committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    48a3ff6 View commit details
    Browse the repository at this point in the history