diff options
| author | KOBAYASHI Shuji <[email protected]> | 2020-05-31 17:33:19 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 16:21:44 +0900 |
| commit | 40d0d8fe0efa6a34b54ef90a93f16b17fe3f3c7b (patch) | |
| tree | d534c29137acba361bbf6fa85872b1abdade551d /src/string.c | |
| parent | ee544dc881453cdd1f18f87344627206834e1ab4 (diff) | |
| download | mruby-40d0d8fe0efa6a34b54ef90a93f16b17fe3f3c7b.tar.gz mruby-40d0d8fe0efa6a34b54ef90a93f16b17fe3f3c7b.zip | |
Fix `Fixnum` and `Float` comparison in `Hash` lookup
```console
$ bin/mruby -e 'p({1 => 2}.key?(1.0))'
true
```
```console
$ bin/mruby -e 'p({1 => 2}.key?(1.0))'
false
```
Diffstat (limited to 'src/string.c')
0 files changed, 0 insertions, 0 deletions
