Fixed argument in the fallback function [Bug #15987]

This commit is contained in:
Nobuyoshi Nakada 2019-07-11 20:21:50 +09:00
parent c2723e59c2
commit f74e23af32
No known key found for this signature in database
GPG Key ID: 4BC7D6DF58D8DF60

View File

@ -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;
}