Skip to content

Update reference syntax documentation with named tuples #23493

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 1 commit into from
Jul 10, 2025

Conversation

noti0na1
Copy link
Member

@noti0na1 noti0na1 commented Jul 9, 2025

Fix #22237

Given named tuple is a stable feature since 3.7, I updated the docs/_docs/reference/syntax.md.

@noti0na1 noti0na1 requested a review from kyouko-taiga July 9, 2025 15:46
Copy link
Contributor

@kyouko-taiga kyouko-taiga left a comment

Choose a reason for hiding this comment

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

LGTM. It matches the syntax described in SIP-58.

@noti0na1 noti0na1 merged commit 97896fa into scala:main Jul 10, 2025
29 checks passed
@noti0na1 noti0na1 deleted the fix-22237 branch July 10, 2025 07:45
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.

Named tuples are ambigious in (new) given syntax
2 participants