diff options
author | zverok <[email protected]> | 2024-12-21 20:33:13 +0200 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-12-22 15:08:19 +0900 |
commit | 3808d29e2001c374f3bcda32a42519d6c28e5d09 (patch) | |
tree | 91abd146b8ca7104278e3a9df3f9e4f7a7a937e3 /error.c | |
parent | e76d2fddad7829ad5e2d36455b68e1025bbfbf33 (diff) |
Fix extra 'warning:' prefix for chilled Symbol#to_s
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/12423
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4075,7 +4075,7 @@ rb_warn_unchilled_symbol_to_s(VALUE obj) { rb_category_warn( RB_WARN_CATEGORY_DEPRECATED, - "warning: string returned by :%s.to_s will be frozen in the future", RSTRING_PTR(obj) + "string returned by :%s.to_s will be frozen in the future", RSTRING_PTR(obj) ); } |