diff options
author | Alan Wu <XrXr@users.noreply.github.com> | 2021-09-23 17:14:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-23 17:14:04 -0400 |
commit | edb34e35639b1446cf3a860f9a839e910297387a (patch) | |
tree | cc6770b95de877209cdde7321a735d0770b464f1 /insns.def | |
parent | 5d756118af16d22c9b276bad86464050d9100cce (diff) |
Fix typo in insns.def [ci skip]
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4888
Merged-By: XrXr
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |