summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2022-08-19 18:33:33 +0900
committergit <svn-admin@ruby-lang.org>2022-08-19 18:34:15 +0900
commit6bcb473d9cf00c113587a9fbb7605a2fe110862c (patch)
treeebd342ba37c825ebaed1f2065fb8cbd6da7fa593
parent17d0e5bee7f15ad4e32266afc194cf6c65976236 (diff)
[ruby/error_highlight] Apply ErrorHighlight::CoreExt to TypeError and ArgumentError
https://github.com/ruby/error_highlight/commit/defcaf1beb
-rw-r--r--lib/error_highlight/core_ext.rb7
1 files 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
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