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

Fix a Crash when Project Names are Shadowed #1571

Merged
merged 12 commits into from
Mar 16, 2021
Merged

Conversation

iamrecursion
Copy link
Contributor

Pull Request Description

As in the title. In addition, it namespaces all of the standard library packages under Standard.

Closes #1558.

Important Notes

Found a bug in imports resolution, but that will be fixed in a separate task.

Checklist

Please include the following checklist in your PR:

  • The documentation has been updated if necessary.
  • All code conforms to the Scala, Java, and Rust style guides.
  • All documentation and configuration conforms to the markdown and YAML style guides.
  • All code has been tested where possible.

@iamrecursion iamrecursion added Type: Bug --breaking Important: a change that will break a public API or user-facing behaviour p-highest Should be completed ASAP labels Mar 11, 2021
@iamrecursion iamrecursion self-assigned this Mar 11, 2021
Copy link
Member

@radeusgd radeusgd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have only looked at the legal review so far, but there are already a few things that I think are worth resolving, so I'm submitting these comments already.

I'll look at other parts and submit them as a separate comment.

Copy link
Member

@radeusgd radeusgd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more comment inline.

Also I have noticed by doing a search in the repo state as of the latest commit in this PR, that the test for the Rust lexer enso_lexer_combined.rs still uses the old from Base import all. Is this deliberate?

I think the release.yml workflow needs to have the verifyGeneratedPackage entries updated because they now refer to inexistent directories. Given that the changes are big, before merging this PR a test release should be done on staging to ensure that the workflow is still working correctly.

Other than that it looks good.

Copy link
Member

@radeusgd radeusgd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me (but still the staging run shall be checked before merging)

@iamrecursion iamrecursion merged commit 96697dd into main Mar 16, 2021
@iamrecursion iamrecursion deleted the wip/ara/project-shadow branch March 16, 2021 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
--breaking Important: a change that will break a public API or user-facing behaviour p-highest Should be completed ASAP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow Creation of User Projects with the Name 'Test'
3 participants