summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/io.c b/io.c
index c33b3e7818..3732e0632b 100644
--- a/io.c
+++ b/io.c
@@ -2206,6 +2206,11 @@ rb_io_puts(argc, argv, out)
line = rb_str_new2("nil");
}
else {
+#if 0
+ if (TYPE(argv[i]) == T_ARRAY) {
+ rb_warn("puts behavior changed for Array");
+ }
+#endif
line = rb_obj_as_string(argv[i]);
}
rb_io_write(out, line);