diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-09-18 09:35:09 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-09-18 09:35:09 +0900 |
| commit | 8b43754644660c9dcdc6b8b18a1917f01e77479e (patch) | |
| tree | f4c70dc13272b0f18229bbd6bdb6786fd3af672c /mrbgems/mruby-hash-ext/mrblib/hash.rb | |
| parent | e9b1d9dc2f1de290da4aadfd39f1957502d67e18 (diff) | |
| download | mruby-8b43754644660c9dcdc6b8b18a1917f01e77479e.tar.gz mruby-8b43754644660c9dcdc6b8b18a1917f01e77479e.zip | |
Use `mrb_to_flo()` to check return value from `to_f`; fix #4115
The ISO standard does not include implicit type conversion using
`to_int`, `to_str` and sometimes `to_f`. For the compactness of the
mruby implementation, maybe we should remove those implicit conversion
from mruby.
Diffstat (limited to 'mrbgems/mruby-hash-ext/mrblib/hash.rb')
0 files changed, 0 insertions, 0 deletions
