Commit 1ddf61d
authored
Fix infinite loop problem with the
* Fix infinite loop problem with the `NameError`s in block exposures
Calling `NameError#message` causes the `did_you_mean` library to endup
being in an infinite loop(Probabaly raises `SystemStackError` at some
point though).
Related to ruby/did_you_mean#158
* Fix rubocop cop violationsNameErrors in block exposures (#355)1 parent 675d3c0 commit 1ddf61d
2 files changed
Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | | - | |
| 530 | + | |
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | | - | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
1137 | 1135 | | |
1138 | 1136 | | |
1139 | 1137 | | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
1140 | 1150 | | |
1141 | 1151 | | |
1142 | 1152 | | |
| |||
1581 | 1591 | | |
1582 | 1592 | | |
1583 | 1593 | | |
1584 | | - | |
| 1594 | + | |
1585 | 1595 | | |
1586 | 1596 | | |
1587 | 1597 | | |
| |||
0 commit comments