diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-09-07 16:06:14 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-09-07 16:06:14 +0900 |
commit | c1862cbb89a6bf42dcd07d92fe4f4bfeebca5775 (patch) | |
tree | cbd92ab606a9f36062b642018a7cba994c5c3374 /object.c | |
parent | c1a510a8dffa1c8065e47697cd57edae67126712 (diff) |
[Bug #20719] `Float` argument must be ASCII compatible
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11564
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3530,6 +3530,7 @@ rb_str_to_dbl_raise(VALUE str, int badcheck, int raise, int *error) VALUE v = 0; StringValue(str); + rb_must_asciicompat(str); s = RSTRING_PTR(str); len = RSTRING_LEN(str); if (s) { |