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

ruby-changes:56419

From: Nobuyoshi <ko1@a...>
Date: Thu, 11 Jul 2019 20:20:25 +0900 (JST)
Subject: [ruby-changes:56419] Nobuyoshi Nakada: c2723e59c2 (master): Removed wrong argument in the fallback function [Bug #15987]

https://git.ruby-lang.org/ruby.git/commit/?id=c2723e59c2

From c2723e59c2a66a3d2fc8849b3b25c04c9333230a Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 11 Jul 2019 20:19:53 +0900
Subject: Removed wrong argument in the fallback function [Bug #15987]


diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index 430707a..b9bdfd1 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -2578,7 +2578,7 @@ opts_exception_p(VALUE opts) https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L2578
         break;
       default:
         rb_raise(rb_eArgError, "true or false is expected as exception: %+"PRIsVALUE,
-                 flagname, obj);
+                 obj);
     }
     return exception != Qfalse;
 }
-- 
cgit v0.10.2


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

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