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

Backport "Update syntax.md" to LTS #20917

Merged
merged 5 commits into from
Jul 2, 2024
Merged

Backport "Update syntax.md" to LTS #20917

merged 5 commits into from
Jul 2, 2024

Conversation

WojciechMazur
Copy link
Contributor

Backports #19670 to the LTS branch.

PR submitted by the release tooling.
[skip ci]

odersky and others added 5 commits July 1, 2024 19:05
 1. Add missing soft modifiers
 2. Port changes from multiple type parameter sections to reference.
    Now that multiple type parameter sections are merged, this is the
    official syntax. This also covers extension method declarations.

Fixes #19667
Fixes #19668

[Cherry-picked e06b831]
 - Change doc comments to match described syntax
 - Refactor `typ` method to make it clear it matches the syntax

[Cherry-picked 6a9bea8][modified]
erased is not always a modifier on the parameter name. The syntax `erased Type` is dropped.
There's not really a need for this syntactic inconsistency.

[Cherry-picked 6159045][modified]
[Cherry-picked 32723c5][modified]
Co-authored-by: Eugene Flesselle <[email protected]>
[Cherry-picked f2f5051]
Base automatically changed from lts-19651 to lts-3.3 July 2, 2024 07:35
@WojciechMazur
Copy link
Contributor Author

No regressions detected in the community build up to lts-19080.

Reference

@WojciechMazur WojciechMazur merged commit b9e1386 into lts-3.3 Jul 2, 2024
19 checks passed
@WojciechMazur WojciechMazur deleted the lts-19670 branch July 2, 2024 07:35
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