Project

General

Profile

Actions

Bug #13120

closed

Updated by shyouhei (Shyouhei Urabe) over 8 years ago

  • Related to : Bug with array literals caused by r53376 added

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

  • Status changed from Open to Closed

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

  • Status changed from Closed to Open

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

  • Status changed from Open to Closed

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

  • Status changed from Closed to Open
  • Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: DONTNEED, 2.3: DONTNEED, 2.4: REQUIRED

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

  • Is duplicate of : test failures since r57284 added

Updated by nobu (Nobuyoshi Nakada) over 8 years ago

  • Status changed from Open to Closed

Applied in changeset r57305.


variable.c: fix the condition to cache

  • variable.c (rb_const_set): fix the condition to cache the class
    path and cache permanent or temporary path corresponding to the
    outer klass. [ruby-core:79039] [Bug ]

Updated by yahonda (Yasuo Honda) over 8 years ago

Verified that it has been addressed by using revision 57306.

$ ruby -v
ruby 2.5.0dev (2017-01-11 trunk 57306) [x86_64-linux]
$ bundle -v
Bundler version 1.13.7
$ git clone -b ruby250 https://.com/yahonda/array_bug.git
$ cd array_bug
$ bundle
$ bundle exec ruby -w -e 'p [].class'
Array
$ bundle exec ruby -w -e 'require "rails"; p [].class'
Array
$

Thanks.

Updated by naruse (Yui NARUSE) over 8 years ago

  • Backport changed from 2.2: DONTNEED, 2.3: DONTNEED, 2.4: REQUIRED to 2.2: DONTNEED, 2.3: DONTNEED, 2.4: DONE

ruby_2_4 r57856 merged revision(s) 57305.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0