ClassCastException when using named pattern one single-component named tuple #23131
Labels
area:named-tuples
Issues tied to the named tuples feature.
itype:bug
itype:soundness
Soundness bug (it lets us compile code that crashes at runtime with a ClassCastException)
Compiler version
3.7.2-RC1-bin-20250507-c85982c-NIGHTLY
Minimized code
Output
Compiles, but running the program gives:
Expectation
Should print
6
The text was updated successfully, but these errors were encountered: