summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2021-09-23 17:14:04 -0400
committerGitHub <noreply@github.com>2021-09-23 17:14:04 -0400
commitedb34e35639b1446cf3a860f9a839e910297387a (patch)
treecc6770b95de877209cdde7321a735d0770b464f1
parent5d756118af16d22c9b276bad86464050d9100cce (diff)
Fix typo in insns.def [ci skip]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4888 Merged-By: XrXr
-rw-r--r--insns.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/insns.def b/insns.def
index 0b741af5042..cf09809ba17 100644
--- a/insns.def
+++ b/insns.def
@@ -660,7 +660,7 @@ defined
`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