[Bug]: Function rest param is not set as final #41833
Labels
Fix/BreakingChange
Fix containing a backward incompatible change.
Team/CompilerFE
All issues related to Language implementation and Compiler, this exclude run times.
Type/Bug
Milestone
Description
$subject
According to the spec every parameter in the function should be final. But right now, the rest parameter can change. This means developers can modify them, which shouldn't happen according to the spec.
After the fix it should give a compile time error saying.
Steps to Reproduce
Affected Version(s)
2201.8.2
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: