mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Fix style [ci skip]
This commit is contained in:
parent
d6d4e6877c
commit
c218862d3c
14 changed files with 63 additions and 33 deletions
3
error.c
3
error.c
|
@ -4195,7 +4195,8 @@ rb_warn_unchilled_literal(VALUE obj)
|
|||
VALUE created = get_created_info(str, &line);
|
||||
if (NIL_P(created)) {
|
||||
rb_str_cat2(mesg, " (run with --debug-frozen-string-literal for more information)\n");
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
rb_str_cat2(mesg, "\n");
|
||||
rb_str_append(mesg, created);
|
||||
if (line) rb_str_catf(mesg, ":%d", line);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue