-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Align parser with quotes and splices spec #15009
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
Labels
Comments
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 22, 2022
These have have been emitting migration warning in 3.0 and 3.1 even if the syntax was already deprecated in 3.0. These where allowed syntax found in older papers. The case `'[T]` was actually buggy but no one reported this bug so far. A good indication that this older syntax has not been used in a while. First step towards fixing scala#15009.
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
May 10, 2022
These have have been emitting migration warning in 3.0 and 3.1 even if the syntax was already deprecated in 3.0. These where allowed syntax found in older papers. The case `'[T]` was actually buggy but no one reported this bug so far. A good indication that this older syntax has not been used in a while. First step towards fixing scala#15009.
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
May 19, 2022
These have have been emitting migration warning in 3.0 and 3.1 even if the syntax was already deprecated in 3.0. These where allowed syntax found in older papers. The case `'[T]` was actually buggy but no one reported this bug so far. A good indication that this older syntax has not been used in a while. First step towards fixing scala#15009.
nicolasstucki
added a commit
to dotty-staging/dotty
that referenced
this issue
May 24, 2022
These have have been emitting migration warning in 3.0 and 3.1 even if the syntax was already deprecated in 3.0. These where allowed syntax found in older papers. The case `'[T]` was actually buggy but no one reported this bug so far. A good indication that this older syntax has not been used in a while. First step towards fixing scala#15009.
bishabosha
pushed a commit
to dotty-staging/dotty
that referenced
this issue
Oct 18, 2022
These have have been emitting migration warning in 3.0 and 3.1 even if the syntax was already deprecated in 3.0. These where allowed syntax found in older papers. The case `'[T]` was actually buggy but no one reported this bug so far. A good indication that this older syntax has not been used in a while. First step towards fixing scala#15009.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The current implementation of the parser allows more than is needed. These are vestiges from the first versions of the system. Most of them should already emit an error or warning stating that the new syntax should be used. Now we need to tighten the rules to make sure they all emit errors.
Quotes
Quotes come in four flavors: quoted identifiers, quoted blocks, quoted blocks patterns and quoted type patterns.
Splices
Splices come in three flavors: spliced identifiers, spliced blocks and splice patterns.
The text was updated successfully, but these errors were encountered: