Rubyspec: Struct specs with recursive arrays
--------------------------------------------

                 Key: JRUBY-3938
                 URL: http://jira.codehaus.org/browse/JRUBY-3938
             Project: JRuby
          Issue Type: Bug
          Components: RubySpec
    Affects Versions: JRuby 1.3.1
         Environment: jruby 1.4.0dev (ruby 1.8.7p174) (2009-09-02 3f1e697) 
(Java HotSpot(TM) Client VM 1.5.0_19) [i386-java]

            Reporter: Nick Sieger


The following recently-added specs that deal with recursive arrays are failing:

{noformat}
Struct#eql? handles recursive structures by returning false if a difference can 
be found 
Struct#== handles recursive structures by returning false if a difference can 
be found 


1)
Struct#eql? handles recursive structures by returning false if a difference can 
be found  ERROR
SystemStackError: stack level too deep
/Users/nicksieger/Projects/ruby/jruby/spec/ruby/core/struct/shared/equal_value.rb:27
/Users/nicksieger/Projects/ruby/jruby/spec/ruby/core/struct/eql_spec.rb:5
/Users/nicksieger/Projects/ruby/jruby/spec/ruby/core/struct/eql_spec.rb:55:in 
`load'

2)
Struct#== handles recursive structures by returning false if a difference can 
be found  ERROR
SystemStackError: stack level too deep
/Users/nicksieger/Projects/ruby/jruby/spec/ruby/core/struct/shared/equal_value.rb:27
/Users/nicksieger/Projects/ruby/jruby/spec/ruby/core/struct/equal_value_spec.rb:5
/Users/nicksieger/Projects/ruby/jruby/spec/ruby/core/struct/equal_value_spec.rb:55:in
 `load'
{noformat}

-- 
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


Reply via email to