[前][次][番号順一覧][スレッド一覧]

ruby-changes:51758

From: ktsj <ko1@a...>
Date: Sun, 15 Jul 2018 18:48:13 +0900 (JST)
Subject: [ruby-changes:51758] ktsj:r63970 (trunk): insns.def: fix typo in comment

ktsj	2018-07-15 18:48:09 +0900 (Sun, 15 Jul 2018)

  New Revision: 63970

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63970

  Log:
    insns.def: fix typo in comment

  Modified files:
    trunk/insns.def
Index: insns.def
===================================================================
--- insns.def	(revision 63969)
+++ insns.def	(revision 63970)
@@ -633,7 +633,7 @@ defined https://github.com/ruby/ruby/blob/trunk/insns.def#L633
      `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_op?(Module) && pattern === target'.
      if `flag & VM_CHECKMATCH_ARRAY' is not 0, then `patten' is array of patterns.
  */
 DEFINE_INSN

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]