Skip to content

Path segments can be named () #1592

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

Merged
merged 2 commits into from
May 30, 2020
Merged

Path segments can be named () #1592

merged 2 commits into from
May 30, 2020

Conversation

runarorama
Copy link
Contributor

@runarorama runarorama commented May 29, 2020

Adds the ability for path segments to be named (). The main purpose of this change is to be able to delete the empty namespace .base.() which currently exists in Base.

Implementation notes

Adds a special case to the path parser. If the segment is neither a symboly or wordy identifier, we check if it's literally "()".

Depends on #1591

Test coverage

There is a transcript provided.

@runarorama runarorama requested a review from aryairani May 29, 2020 18:05
@runarorama runarorama changed the base branch from master to topic/segments May 30, 2020 00:42
Copy link
Contributor

@aryairani aryairani left a comment

Choose a reason for hiding this comment

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

Bleh, thanks.

For background, these were illegal identifiers that were inserted out of band, and now we couldn't get rid of them. We'll want to revisit this, once we can escape identifiers (#1589). /cc @mitchellwrosen

@runarorama runarorama merged commit 07a46fe into topic/segments May 30, 2020
@runarorama runarorama deleted the topic/unitsegment branch May 30, 2020 18:56
@pchiusano pchiusano mentioned this pull request May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants