[Bug]: Record constructor is not supported within a record-destructure or tuple-destructure #42352
Labels
Area/Compiler
Reason/Invalid
Issue is invalid.
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/Bug
userCategory/Compilation
Description
It is not supported to have record-constructor in record binding pattern.
With #40283 fix, we have aligned the same behaviour in record-constructor for tuple-destructure.
Steps to Reproduce
Sample scenario in record destructure.
Sample scenario in tuple destructure.
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
Related issues:
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: