ext/fiddle/function.c in fiddle-1.1.4 vs ext/fiddle/function.c in fiddle-1.1.5

- old
+ new

@@ -152,10 +152,12 @@ } rb_get_kwargs(kwargs, kw, 0, kw_max_, args); if (args[kw_name] != Qundef) { name = args[kw_name]; #ifdef HAVE_RB_STR_TO_INTERNED_STR - name = rb_str_to_interned_str(name); + if (RB_TYPE_P(name, RUBY_T_STRING)) { + name = rb_str_to_interned_str(name); + } #endif } if (args[kw_need_gvl] != Qundef) { need_gvl = args[kw_need_gvl]; }