ruby-changes:58185
From: Nobuyoshi <ko1@a...>
Date: Thu, 10 Oct 2019 08:55:34 +0900 (JST)
Subject: [ruby-changes:58185] 25100c4697 (master): lhs of pattern matching expression of should have a value
https://git.ruby-lang.org/ruby.git/commit/?id=25100c4697 From 25100c469758dd3676ec608ed27fd89248980666 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 10 Oct 2019 08:53:46 +0900 Subject: lhs of pattern matching expression of should have a value diff --git a/parse.y b/parse.y index cddeb3c..72470af 100644 --- a/parse.y +++ b/parse.y @@ -1540,6 +1540,7 @@ expr : command_call https://github.com/ruby/ruby/blob/trunk/parse.y#L1540 } | arg keyword_in { + value_expr($1); SET_LEX_STATE(EXPR_BEG|EXPR_LABEL); p->command_start = FALSE; $<num>$ = p->in_kwarg; -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/