Commit 990cdde
Spec: no verbose warning for inner block params
Add a spec to ensure block-parameter destructuring does not emit unused-name warnings in verbose mode. The test evals a proc with parameters |key, (val1, val2)| and asserts it should_not complain(verbose: true), preventing false-positive warnings for inner destructured names.1 parent f5dba11 commit 990cdde
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1136 | 1136 | | |
1137 | 1137 | | |
1138 | 1138 | | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
0 commit comments