Project

General

Profile

Actions

Bug #9240

closed

TestModule Test No Longer Valid

Added by simeonwillbanks (Simeon Willbanks) almost 11 years ago. Updated almost 10 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 2.1.0dev (2013-12-10 trunk 44106) [x86_64-darwin11.0]
[ruby-core:59035]

Description

TestModule#test_include_module_with_constants_invalidates_method_cache is no longer valid.

Test: https://github.com/ruby/ruby/blob/trunk/test/ruby/test_module.rb#L1783-L1801

The Changelog states, "...this means inclusions of modules containing constants no longer globally invalidate the method cache."

Changelog: https://github.com/ruby/ruby/blob/trunk/ChangeLog#L2830-L2832

I've refactored the test and used the new RubyVM.stat method.

https://github.com/ruby/ruby/pull/472.patch

Any input is appreciated.

Thanks!

Updated by hsbt (Hiroshi SHIBATA) almost 11 years ago

  • Target version changed from 2.1.0 to 2.2.0

Updated by hsbt (Hiroshi SHIBATA) almost 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Applied in changeset r49102.


Actions

Also available in: Atom PDF

Like0
Like0Like0