Project

General

Profile

Actions

Feature #12338

closed

bypass Exception.new

Added by nobu (Nobuyoshi Nakada) almost 8 years ago. Updated over 2 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:75302]

Description

Redefinition of class method new is an outdated style, and internal exceptions should not be affected by it.

https://github.com/ruby/ruby/compare/trunk...nobu:feature/exc_new-bypass
https://github.com/ruby/ruby/pull/1331


Related issues 2 (0 open2 closed)

Related to Backport186 - Bug #1886: Strange exception thrown when Exception#new is overridden and returns a non-ExceptionClosedwyhaines (Kirk Haines)08/05/2009Actions
Related to Ruby master - Bug #14229: An exception in eval has strange messageClosedmatz (Yukihiro Matsumoto)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0