Roger Pack created JRUBY-6353:
---------------------------------

             Summary: SyntaxError#to_str doesn't always return a string
                 Key: JRUBY-6353
                 URL: https://jira.codehaus.org/browse/JRUBY-6353
             Project: JRuby
          Issue Type: Bug
         Environment: jruby 1.6.5 (ruby-1.8.7-p330) (2011-10-25 9dcd388) (Java 
HotSpot(TM) Client VM 1.6.0_26) [Windows XP-x86-java]
            Reporter: Roger Pack
            Assignee: Thomas E Enebo


 SyntaxError.new(Exception.new).to_str
=> #<Exception: Exception>

would have expected a string.  MRI just raises I guess...
-roger-

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.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


Reply via email to