diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-05-24 16:48:34 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-06-20 19:35:12 +0900 |
commit | a58611dfb1bfc74fb1a51a9cd0ca8ac690c2f1f4 (patch) | |
tree | c168f6a4b56c0b159a573639fffcead139a28e28 /error.c | |
parent | 15db2e9496703d76b2d785a9e2a1554833706e06 (diff) | |
download | ruby-a58611dfb1bfc74fb1a51a9cd0ca8ac690c2f1f4.tar.gz |
Allow to just warn as bool expected, without an exception
Diffstat (limited to 'error.c')
-rw-r--r-- | error.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1273,7 +1273,7 @@ check_highlight_keyword(VALUE opt, int auto_tty_detect) switch (highlight) { default: - rb_bool_expected(highlight, "highlight"); + rb_bool_expected(highlight, "highlight", TRUE); UNREACHABLE; case Qtrue: case Qfalse: case Qnil: break; } |