* [ruby-core:68789] [Ruby trunk - Bug #11046] [Open] __callee__ returns incorrect method name in orphan proc
[not found] <redmine.issue-11046.20150407212852@ruby-lang.org>
@ 2015-04-07 21:28 ` ko1
2015-06-30 4:07 ` [ruby-core:69799] [Ruby trunk - Bug #11046] " usa
1 sibling, 0 replies; 2+ messages in thread
From: ko1 @ 2015-04-07 21:28 UTC (permalink / raw)
To: ruby-core
Issue #11046 has been reported by Koichi Sasada.
----------------------------------------
Bug #11046: __callee__ returns incorrect method name in orphan proc
https://bugs.ruby-lang.org/issues/11046
* Author: Koichi Sasada
* Status: Open
* Priority: Normal
* Assignee: Koichi Sasada
* ruby -v: ruby 2.3.0dev (2015-04-07 trunk 50171) [i386-mswin32_110]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
__callee__ returns incorrect method name in orphan proc.
```ruby
def foo
1.times{
p __callee__
}
proc{
__callee__
}
end
alias bar foo
pr = bar #=> :bar
GC.start
p pr.call #=> :foo
```
Reproduce on 2.0 to 2.3dev.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ruby-core:69799] [Ruby trunk - Bug #11046] __callee__ returns incorrect method name in orphan proc
[not found] <redmine.issue-11046.20150407212852@ruby-lang.org>
2015-04-07 21:28 ` [ruby-core:68789] [Ruby trunk - Bug #11046] [Open] __callee__ returns incorrect method name in orphan proc ko1
@ 2015-06-30 4:07 ` usa
1 sibling, 0 replies; 2+ messages in thread
From: usa @ 2015-06-30 4:07 UTC (permalink / raw)
To: ruby-core
Issue #11046 has been updated by Usaku NAKAMURA.
Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN to 2.0.0: WONTFIX, 2.1: REQUIRED, 2.2: REQUIRED
----------------------------------------
Bug #11046: __callee__ returns incorrect method name in orphan proc
https://bugs.ruby-lang.org/issues/11046#change-53193
* Author: Koichi Sasada
* Status: Closed
* Priority: Normal
* Assignee: Koichi Sasada
* ruby -v: ruby 2.3.0dev (2015-04-07 trunk 50171) [i386-mswin32_110]
* Backport: 2.0.0: WONTFIX, 2.1: REQUIRED, 2.2: REQUIRED
----------------------------------------
__callee__ returns incorrect method name in orphan proc.
```ruby
def foo
1.times{
p __callee__
}
proc{
__callee__
}
end
alias bar foo
pr = bar #=> :bar
GC.start
p pr.call #=> :foo
```
Reproduce on 2.0 to 2.3dev.
--
https://bugs.ruby-lang.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-30 3:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <redmine.issue-11046.20150407212852@ruby-lang.org>
2015-04-07 21:28 ` [ruby-core:68789] [Ruby trunk - Bug #11046] [Open] __callee__ returns incorrect method name in orphan proc ko1
2015-06-30 4:07 ` [ruby-core:69799] [Ruby trunk - Bug #11046] " usa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).