Project

General

Profile

Actions

Bug #14074

closed

TracePoint#new without a block should not raise ThreadError

Added by atul (Atul Bhosale) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Target version:
ruby -v:
trunk
[ruby-core:83632]

Description

While working on RubySpecs with Marc-Andre Lafortune, we discovered that TracePoint.new raises a ThreadError instead of ArgumentError.
For example :

TracePoint.new => # => ThreadError: must be called with a block
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0