ruby-changes:72980
From: Yusuke <ko1@a...>
Date: Fri, 19 Aug 2022 18:34:28 +0900 (JST)
Subject: [ruby-changes:72980] 6bcb473d9c (master): [ruby/error_highlight] Apply ErrorHighlight::CoreExt to TypeError and ArgumentError
https://git.ruby-lang.org/ruby.git/commit/?id=6bcb473d9c From 6bcb473d9cf00c113587a9fbb7605a2fe110862c Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Fri, 19 Aug 2022 18:33:33 +0900 Subject: [ruby/error_highlight] Apply ErrorHighlight::CoreExt to TypeError and ArgumentError https://github.com/ruby/error_highlight/commit/defcaf1beb --- lib/error_highlight/core_ext.rb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/error_highlight/core_ext.rb b/lib/error_highlight/core_ext.rb index 130f9ef832..00d5671648 100644 --- a/lib/error_highlight/core_ext.rb +++ b/lib/error_highlight/core_ext.rb @@ -37,9 +37,6 @@ module ErrorHighlight https://github.com/ruby/ruby/blob/trunk/lib/error_highlight/core_ext.rb#L37 end NameError.prepend(CoreExt) - - # The extension for TypeError/ArgumentError is temporarily disabled due to many test failures - - #TypeError.prepend(CoreExt) - #ArgumentError.prepend(CoreExt) + TypeError.prepend(CoreExt) + ArgumentError.prepend(CoreExt) end -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/