We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcfce4c commit e0c90c7Copy full SHA for e0c90c7
lib/error_highlight/core_ext.rb
@@ -1,5 +1,8 @@
1
module ErrorHighlight
2
module CoreExt
3
+ # This is a marker to let `DidYouMean::Correctable#original_message` skip
4
+ # the following method definition of `to_s`.
5
+ # See https://github.com/ruby/did_you_mean/pull/152
6
SKIP_TO_S_FOR_SUPER_LOOKUP = true
7
private_constant :SKIP_TO_S_FOR_SUPER_LOOKUP
8
@@ -42,7 +45,8 @@ def to_s
42
45
43
46
NameError.prepend(CoreExt)
44
47
- # temporarily disabled
48
+ # The extension for TypeError/ArgumentError is temporarily disabled due to many test failures
49
+
50
#TypeError.prepend(CoreExt)
51
#ArgumentError.prepend(CoreExt)
52
end
0 commit comments