From: "ktsj (Kazuki Tsujimoto)" Date: 2013-08-06T19:11:48+09:00 Subject: [ruby-core:56410] [ruby-trunk - Feature #8693] lambda invoked by yield acts as a proc with respect to return Issue #8693 has been updated by ktsj (Kazuki Tsujimoto). Thanks a lot, but I think you forgot to attach the patch. ---------------------------------------- Feature #8693: lambda invoked by yield acts as a proc with respect to return https://bugs.ruby-lang.org/issues/8693#change-40930 Author: rits (First Last) Status: Assigned Priority: Normal Assignee: ktsj (Kazuki Tsujimoto) Category: core Target version: current: 2.1.0 irb(main):004:0> def m1; yield end; def m2; m1 &->{return 0}; 1 end; m2 => 0 -- http://bugs.ruby-lang.org/ _______________________________________________ ruby-core mailing list ruby-core@ruby-lang.org http://lists.ruby-lang.org/cgi-bin/mailman/listinfo/ruby-core