Hash#update raises a TypeError if called on a non-empty, frozen instance ERROR
------------------------------------------------------------------------------

                 Key: JRUBY-3851
                 URL: http://jira.codehaus.org/browse/JRUBY-3851
             Project: JRuby
          Issue Type: Bug
          Components: Ruby 1.8.7
            Reporter: Martin Traverso
         Attachments: 
0001-Fixed-Hash-update-raises-a-TypeError-if-called-on-a-.patch

jruby  spec/mspec/bin/mspec  spec/ruby/core/hash/update_spec.rb 
jruby 1.4.0dev (ruby 1.8.7p174) (2009-08-03 3b8e007) (Java HotSpot(TM) 64-Bit 
Server VM 1.6.0_13) [x86_64-java]
.....E

1)
Hash#update raises a TypeError if called on a non-empty, frozen instance ERROR
TypeError: can't modify frozen hash
/Users/martin/src/jruby/spec/ruby/core/hash/shared/update.rb:39:in `update'
/Users/martin/src/jruby/spec/ruby/core/hash/shared/update.rb:39
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in 
`instance_eval'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `each'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `all?'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/context.rb:135:in `protect'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/context.rb:163:in `process'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `each'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/context.rb:155:in `process'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/mspec.rb:36:in `describe'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/object.rb:11:in `describe'
/Users/martin/src/jruby/spec/ruby/core/hash/update_spec.rb:5
/Users/martin/src/jruby/spec/ruby/core/hash/update_spec.rb:55:in `load'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in 
`instance_eval'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/mspec.rb:67:in `protect'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/mspec.rb:55:in `files'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `each'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/mspec.rb:49:in `files'
/Users/martin/src/jruby/spec/mspec/lib/mspec/runner/mspec.rb:41:in `process'
/Users/martin/src/jruby/spec/mspec/lib/mspec/commands/mspec-run.rb:87:in `run'
/Users/martin/src/jruby/spec/mspec/lib/mspec/utils/script.rb:217:in `main'
/Users/martin/src/jruby/spec/mspec/bin/mspec-run:8


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