Commit 692b55a
authored
Fix highlighting for unused block parameters
What:
Removes the distinction between block variables prefixed with underscore
and those not prefixed with underscore.
Why:
As per the github issue: the leading underscore is just a convention.
From Ruby's perspective, it's still a parameter and even referring to it
still works.1 parent 8671a04 commit 692b55a
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2260 | 2260 | | |
2261 | 2261 | | |
2262 | 2262 | | |
2263 | | - | |
| 2263 | + | |
2264 | 2264 | | |
2265 | 2265 | | |
2266 | 2266 | | |
2267 | 2267 | | |
2268 | 2268 | | |
2269 | 2269 | | |
2270 | | - | |
2271 | | - | |
2272 | | - | |
2273 | 2270 | | |
2274 | 2271 | | |
2275 | 2272 | | |
| |||
0 commit comments