'puts []' prints a newline
--------------------------
Key: JRUBY-3869
URL: http://jira.codehaus.org/browse/JRUBY-3869
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.4
Environment: github trunk, Java 6, Mac OS X 10.5.8
Reporter: Hiro Asari
Priority: Minor
I'm not sure who's to blame, but
{noformat}
puts []
{noformat}
prints nothing in MRI (both 1.8.6 and svn trunk, a.k.a. 1.9.2dev), but JRuby
prints a newline.
As a curious companion case,
{noformat}
puts {}
{noformat}
prints a newline in MRI (and JRuby).
I am not sure if this is spec.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email