diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-20 10:08:27 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-20 10:08:27 +0000 |
commit | 55515ef463971ecfdfa61ff32868d0e02129e753 (patch) | |
tree | 74673c00fa099066e720000e309a5018ccf3c240 /thread_win32.h | |
parent | 64072aa8e199fa0a3af85e3908c0af46f759f1ba (diff) |
error.c: bypass Exception.new
* error.c (rb_exc_new, rb_exc_new_str): instantiate exception
object directly without Exception.new method call.
Redefinition of class method `new` is an outdated style, and
internal exceptions should not be affected by it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.h')
0 files changed, 0 insertions, 0 deletions