Bug #9651
closed
__dir__ returns nil in instance_eval/module_eval
Added by nagachika (Tomoyuki Chikanaga) almost 11 years ago.
Updated over 10 years ago.
Description
instance_eval
/module_eval
内の __dir__
が常に nil
を返します。
eval
は r42103 で修正済みでしたが instance_eval
/module_eval
では nil
のままだったようです。
trunk では r45360 および r45361 で修正済みです。
Backport 管理用に改めてチケット化しておきます。
- Description updated (diff)
- Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: DONE, 2.1: REQUIRED
r42230 and r42231 were backported to ruby_2_0_0 at r45473. These changesets were required for resolv conflict.
And r45360 and r45361 were backported to ruby_2_0_0 at r45474.
- Backport changed from 2.0.0: DONE, 2.1: REQUIRED to 2.0.0: DONE, 2.1: DONE
r45360 and r45361 were backported to ruby_2_1
branch at r45927.
Also available in: Atom
PDF
Like0
Like0Like0Like0