From: troels@... Date: 2017-09-14T21:18:43+00:00 Subject: [ruby-core:82799] [Ruby trunk Bug#13898] Block parsing regression Issue #13898 has been reported by tt (Troels Thomsen). ---------------------------------------- Bug #13898: Block parsing regression https://bugs.ruby-lang.org/issues/13898 * Author: tt (Troels Thomsen) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- Upgrading to Ruby 2.4.2p198 from Ruby 2.4.1p111 introduces the following regression: irb(main):001:0> def let(x, &b); end => :let irb(main):002:0> let :foo { nil } SyntaxError: (irb):2: syntax error, unexpected '{', expecting end-of-input let :foo { nil } ^ from /home/tt/.rubies/ruby-2.4.2/bin/irb:11:in `<main>' -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>