ruby-changes:68101
From: Alan <ko1@a...>
Date: Fri, 24 Sep 2021 06:14:19 +0900 (JST)
Subject: [ruby-changes:68101] edb34e3563 (master): Fix typo in insns.def [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=edb34e3563 From edb34e35639b1446cf3a860f9a839e910297387a Mon Sep 17 00:00:00 2001 From: Alan Wu <XrXr@u...> Date: Thu, 23 Sep 2021 17:14:04 -0400 Subject: Fix typo in insns.def [ci skip] --- insns.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/insns.def b/insns.def index 0b741af..cf09809 100644 --- a/insns.def +++ b/insns.def @@ -660,7 +660,7 @@ defined https://github.com/ruby/ruby/blob/trunk/insns.def#L660 `flag & VM_CHECKMATCH_TYPE_MASK' describe how to check pattern. VM_CHECKMATCH_TYPE_WHEN: ignore target and check pattern is truthy. VM_CHECKMATCH_TYPE_CASE: check `patten === target'. - VM_CHECKMATCH_TYPE_RESCUE: check `pattern.kind_op?(Module) && pattern === target'. + VM_CHECKMATCH_TYPE_RESCUE: check `pattern.kind_of?(Module) && pattern === target'. if `flag & VM_CHECKMATCH_ARRAY' is not 0, then `patten' is array of patterns. */ DEFINE_INSN -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/