ruby-changes:56420
From: Nobuyoshi <ko1@a...>
Date: Thu, 11 Jul 2019 20:22:08 +0900 (JST)
Subject: [ruby-changes:56420] Nobuyoshi Nakada: f74e23af32 (master): Fixed argument in the fallback function [Bug #15987]
https://git.ruby-lang.org/ruby.git/commit/?id=f74e23af32 From f74e23af32525b5f2db1729586c930e2becdae30 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 11 Jul 2019 20:21:50 +0900 Subject: Fixed argument in the fallback function [Bug #15987] diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index b9bdfd1..b7b6ebb 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, - obj); + exception); } return exception != Qfalse; } -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/