Skip to content

Tuple1 and named tuple extractor #23174

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

Open
xuwei-k opened this issue May 16, 2025 · 0 comments
Open

Tuple1 and named tuple extractor #23174

xuwei-k opened this issue May 16, 2025 · 0 comments
Labels
area:named-tuples Issues tied to the named tuples feature. itype:bug

Comments

@xuwei-k
Copy link
Contributor

xuwei-k commented May 16, 2025

Compiler version

  • 3.7.0
  • 3.7.1-RC1
  • 3.7.2-RC1-bin-20250514-a553986-NIGHTLY

Minimized code

scala> val Tuple1(hello = b) = Tuple1(3)
val b: Int = 3

Expectation

expect compile error. but success.

@xuwei-k xuwei-k added itype:bug stat:needs triage Every issue needs to have an "area" and "itype" label area:named-tuples Issues tied to the named tuples feature. labels May 16, 2025
@Gedochao Gedochao removed the stat:needs triage Every issue needs to have an "area" and "itype" label label May 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:named-tuples Issues tied to the named tuples feature. itype:bug
Projects
None yet
Development

No branches or pull requests

2 participants