From: "nobu (Nobuyoshi Nakada)" Date: 2013-08-06T17:09:49+09:00 Subject: [ruby-core:56409] [ruby-trunk - Feature #8693] lambda invoked by yield acts as a proc with respect to return Issue #8693 has been updated by nobu (Nobuyoshi Nakada). Category set to core Assignee changed from matz (Yukihiro Matsumoto) to ktsj (Kazuki Tsujimoto) Target version set to current: 2.1.0 Seems fine. And now matz considers it a bug in the ISO spec. Attached a proposal for the NEWS and the test. ---------------------------------------- Feature #8693: lambda invoked by yield acts as a proc with respect to return https://bugs.ruby-lang.org/issues/8693#change-40928 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