diff options
author | wanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-22 11:44:01 +0000 |
---|---|---|
committer | wanabe <wanabe@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-22 11:44:01 +0000 |
commit | c46f71399ae54967e7247ac4df0c26adeddbffd6 (patch) | |
tree | 829ebc2a778a5306f6c403029fe5b04713fd480c /NEWS | |
parent | 5d8f69503299ef719c5523546cf2745de136cea9 (diff) |
* proc.c (rb_method_location): return attr's location if it is setup.
[Feature #2084]
* NEWS: follow above.
* vm_method.c (rb_add_method): save attr's location.
* gc.c (mark_method_entry): mark attr's location.
* method.h (rb_method_definition_t): add member to save attr's location.
* vm_eval.c (vm_call0): follow above.
* vm_insnhelper.c (vm_call_method): ditto.
* vm_method.c (rb_method_definition_eq): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -96,6 +96,11 @@ with all sufficient information, see the ChangeLog file. * New method: * MatchData#== + * Proc + * extended method: + * Proc#source_location returns location even if receiver is a method + defined by attr_reader / attr_writer / attr_accessor. + * Process * extended methods: * Process.spawn accepts [:child, FD] for a redirect target. |