Fix style [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2025-04-19 22:02:10 +09:00
parent d6d4e6877c
commit c218862d3c
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465
14 changed files with 63 additions and 33 deletions

View file

@ -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);