From: matz@... Date: 2019-07-02T13:31:32+00:00 Subject: [ruby-core:93484] [Ruby master Feature#15973] Make Kernel#lambda always return lambda Issue #15973 has been updated by matz (Yukihiro Matsumoto). I agree. Even though we have to investigate how big the consequence of the change first. Matz. ---------------------------------------- Feature #15973: Make Kernel#lambda always return lambda https://bugs.ruby-lang.org/issues/15973#change-79034 * Author: alanwu (Alan Wu) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- When Kernel#lambda receives a Proc that is not a lambda, it returns it without modification. l propose changing `Kernel#lambda` so it always returns a lambda. Calling a method called lambda and having it effective do nothing was not very intuitive. https://github.com/ruby/ruby/pull/2262 Judging from marcandre's investigation here: https://bugs.ruby-lang.org/issues/15620#note-1 changing the behavior should not cause much breakage, if any. This also happens to fix [Bug #15620] -- https://bugs.ruby-lang.org/ Unsubscribe: