X Tutup
Skip to content

Fix a Crash when Project Names are Shadowed#1571

Merged
iamrecursion merged 12 commits intomainfrom
wip/ara/project-shadow
Mar 16, 2021
Merged

Fix a Crash when Project Names are Shadowed#1571
iamrecursion merged 12 commits intomainfrom
wip/ara/project-shadow

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 requested a review from radeusgd March 11, 2021 16:59
@iamrecursion iamrecursion self-assigned this Mar 11, 2021
@iamrecursion iamrecursion force-pushed the wip/ara/project-shadow branch from 1bf6e7a to e312c29 Compare March 11, 2021 17:05
Copy link
Contributor

@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
Contributor

@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
Contributor

@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 force-pushed the wip/ara/project-shadow branch from 9b8dec9 to 41107ad Compare March 12, 2021 11:37
@iamrecursion iamrecursion requested a review from 4e6 as a code owner March 16, 2021 09:22
@iamrecursion iamrecursion force-pushed the wip/ara/project-shadow branch from 264d274 to 81d2808 Compare March 16, 2021 10:20
@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

X Tutup