mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Do not include a backtick in error messages and backtraces
[Feature #16495]
This commit is contained in:
parent
926277bf82
commit
25d74b9527
64 changed files with 344 additions and 332 deletions
2
struct.c
2
struct.c
|
@ -236,7 +236,7 @@ rb_struct_getmember(VALUE obj, ID id)
|
|||
if (i != -1) {
|
||||
return RSTRUCT_GET(obj, i);
|
||||
}
|
||||
rb_name_err_raise("`%1$s' is not a struct member", obj, ID2SYM(id));
|
||||
rb_name_err_raise("'%1$s' is not a struct member", obj, ID2SYM(id));
|
||||
|
||||
UNREACHABLE_RETURN(Qnil);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue