From: bughitgithub@... Date: 2021-03-12T18:58:14+00:00 Subject: [ruby-core:102834] [Ruby master Feature#17721] Proc.new should be able to contruct a lambda Issue #17721 has been reported by bughit (bug hit). ---------------------------------------- Feature #17721: Proc.new should be able to contruct a lambda https://bugs.ruby-lang.org/issues/17721 * Author: bughit (bug hit) * Status: Open * Priority: Normal ---------------------------------------- since procs and lambdas are of the same type, as long as Proc::new exists, it should be able to create either. ```ruby class Proc def augment self.class.new lambda? do call end end end ``` -- https://bugs.ruby-lang.org/ Unsubscribe: