diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-04-03 16:38:52 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-03 07:38:52 +0000 |
| commit | ce395d7e90529ddf970bf36106e636831c9f1650 (patch) | |
| tree | 2c4db711e2ec98588038c84e532d0c5b35f02b42 /lib | |
| parent | 56ecd8038ac406a62b3a77b59b2a95ac3f9bd9b8 (diff) | |
Reset `$.` before matching
This is a global variable and may happen to be set to 4 elsewhere.
http://ci.rvm.jp/logfiles/brlog.trunk.20240403-054356#L1707
```
The if expression with a boolean range ('flip-flop' operator) warns when Integer literals are used instead of predicates FAILED
Expected [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] == []
to be truthy but was false
```
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
