From f74e23af32525b5f2db1729586c930e2becdae30 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 11 Jul 2019 20:21:50 +0900 Subject: [PATCH] Fixed argument in the fallback function [Bug #15987] --- ext/bigdecimal/bigdecimal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index b9bdfd1462..b7b6ebb559 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -2578,7 +2578,7 @@ opts_exception_p(VALUE opts) break; default: rb_raise(rb_eArgError, "true or false is expected as exception: %+"PRIsVALUE, - obj); + exception); } return exception != Qfalse; }