Make `mirb` to print warnings; ref
MODIFY
mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
mrbgems/mruby-bin-mirb/tools/mirb/mirb.c
@@ -528,6 +528,10 @@ done:
/* no evaluation of code */
}
else {
+ if (0 < parser->nwarn) {
+ /* warning */
+ printf("line %d: %s\n", parser->warn_buffer[0].lineno, parser->warn_buffer[0].message);
+ }
if (0 < parser->nerr) {
/* syntax error */
printf("line %d: %s\n", parser->error_buffer[0].lineno, parser->error_buffer[0].message);

Make `mirb` to print warnings; ref #3827