summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2019-08-07 22:15:45 -0400
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-09 01:29:53 +0900
commit050b932152fb3004c78af223186afe1aa397f06f (patch)
treec5a0e56a30066fefc220dbd6268e9a8b405efae9 /class.c
parent830fd0418170843f234ed82e07d2fd61d86153e7 (diff)
Iseq#to_binary: Add support for NoMatchingPatternError and TypeError
Binary dumping the iseq for `case foo in []; end` used to crash as there was no handling for these exception classes. Pattern matching generates these classes as operands to `putobject`. [Bug #16088] Closes: https://github.com/ruby/ruby/pull/2325
Diffstat (limited to 'class.c')
0 files changed, 0 insertions, 0 deletions