ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: SASADA Koichi <ko1@atdot.net>
To: ruby-core@ruby-lang.org
Subject: [ruby-core:50217] Re: [ruby-trunk - Bug #5634] yield and binding
Date: Tue, 27 Nov 2012 19:11:22 +0900	[thread overview]
Message-ID: <50B491C8.5080108@atdot.net> (raw)
In-Reply-To: <redmine.journal-34023.20121127184738@ruby-lang.org>

(2012/11/27 18:47), charliesome (Charlie Somerville) wrote:
> The attached patch seems to fix it for me. I ran 'make test-all' and only one (unrelated) test failed so I don't think I've broken anything.

Unfortunately, your patch will not solve the issue.

Could you try it?

###

def x
  binding
end

def m1
  x{p 1}
end

def m2
  x{p 2}
end

b_m1 = m1
b_m2 = m2
eval('yield', m1)

-- 
// SASADA Koichi at atdot dot net

  reply	other threads:[~2012-11-27 10:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-14 18:50 [ruby-core:41038] [ruby-trunk - Bug #5634][Open] yield and binding Thomas Sawyer
2011-11-15  2:49 ` [ruby-core:41050] [ruby-trunk - Bug #5634] " Nobuyoshi Nakada
2011-11-15  4:16 ` [ruby-core:41051] " Nobuyoshi Nakada
2011-11-15  4:17 ` [ruby-core:41052] " Nobuyoshi Nakada
2011-11-15 10:37 ` [ruby-core:41060] " Heesob Park
2012-03-11  7:49 ` [ruby-core:43215] " Koichi Sasada
2012-06-25 20:39 ` [ruby-core:45858] " ko1 (Koichi Sasada)
2012-11-26  0:30 ` [ruby-core:50131] [ruby-trunk - Bug #5634][Feedback] " ko1 (Koichi Sasada)
2012-11-26  3:03 ` [ruby-core:50143] [ruby-trunk - Bug #5634] " charliesome (Charlie Somerville)
2012-11-26  3:05 ` [ruby-core:50144] " ko1 (Koichi Sasada)
2012-11-27  8:38 ` [ruby-core:50209] " charliesome (Charlie Somerville)
2012-11-27  9:08 ` [ruby-core:50210] " ko1 (Koichi Sasada)
2012-11-27  9:24 ` [ruby-core:50213] " charliesome (Charlie Somerville)
2012-11-27  9:47 ` [ruby-core:50215] " charliesome (Charlie Somerville)
2012-11-27 10:11   ` SASADA Koichi [this message]
2012-11-27 10:15     ` [ruby-core:50218] " SASADA Koichi
2012-11-27 12:56 ` [ruby-core:50220] [Backport93 - Backport " ko1 (Koichi Sasada)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50B491C8.5080108@atdot.net \
    --to=ruby-core@ruby-lang.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).