From: atul1bhosale@... Date: 2017-11-01T13:59:48+00:00 Subject: [ruby-core:83634] [Ruby trunk Bug#14074] TracePoint#new without a block should not raise ThreadError Issue #14074 has been updated by atul (Atul Bhosale). While working on RubySpecs with Marc-Andre Lafortune, we discovered that TracePoint.new raises a ThreadError instead of ArgumentError. For example : ~~~ ruby TracePoint.new => # => ThreadError: must be called with a block ~~~ ---------------------------------------- Bug #14074: TracePoint#new without a block should not raise ThreadError https://bugs.ruby-lang.org/issues/14074#change-67662 * Author: atul (Atul Bhosale) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: trunk * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- While working on RubySpecs with Marc-Andre Lafortune, we discovered that TracePoint.new raises a ThreadError instead of ArgumentError. For example : ~~~ ruby TracePoint.new => # => ThreadError: must be called with a block ~~~ -- https://bugs.ruby-lang.org/ Unsubscribe: