<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/error_highlight/core_ext.rb, branch v4.0.2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/error_highlight] Show no message when failing to get caller/callee snippets</title>
<updated>2025-12-17T12:11:27+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2025-12-17T04:26:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=aee4b24829cfd26c9089f539179bd7770d283bfa'/>
<id>aee4b24829cfd26c9089f539179bd7770d283bfa</id>
<content type='text'>
Even with Ruby 4.0, snippets is not always available, such as in irb by
default. It would be better to just say nothing than to show a confusing
message.

https://github.com/ruby/error_highlight/commit/ef80ce73a1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Even with Ruby 4.0, snippets is not always available, such as in irb by
default. It would be better to just say nothing than to show a confusing
message.

https://github.com/ruby/error_highlight/commit/ef80ce73a1
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Replace Ruby 3.5 with Ruby 4.0</title>
<updated>2025-11-12T01:14:56+00:00</updated>
<author>
<name>Yasuo Honda</name>
<email>yasuo.honda@gmail.com</email>
</author>
<published>2025-11-11T12:37:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=da114dfe0bd208ff986db87890481f1ff7391bbd'/>
<id>da114dfe0bd208ff986db87890481f1ff7391bbd</id>
<content type='text'>
This commit updates the Ruby version to follow the commit in Ruby master branch.

https://github.com/ruby/ruby/commit/6d81969b475262aba251e99b518181bdf7c5a523

https://github.com/ruby/error_highlight/commit/dcecf68d75
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit updates the Ruby version to follow the commit in Ruby master branch.

https://github.com/ruby/ruby/commit/6d81969b475262aba251e99b518181bdf7c5a523

https://github.com/ruby/error_highlight/commit/dcecf68d75
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Support cases where there are multiple missing / wrong kwargs</title>
<updated>2025-10-30T00:43:30+00:00</updated>
<author>
<name>Aaron Patterson</name>
<email>tenderlove@ruby-lang.org</email>
</author>
<published>2025-10-29T19:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=78e4a36fb17853e74978addedf663851a124bff5'/>
<id>78e4a36fb17853e74978addedf663851a124bff5</id>
<content type='text'>
This commit fixes the case when there are multiple missing or incorrect
keywords provided to a method.  Without this fix, ErrorHighlight itself
will raise an exception

https://github.com/ruby/error_highlight/commit/8bde92b36e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit fixes the case when there are multiple missing or incorrect
keywords provided to a method.  Without this fix, ErrorHighlight itself
will raise an exception

https://github.com/ruby/error_highlight/commit/8bde92b36e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Improve English comments and messages</title>
<updated>2025-10-07T09:07:22+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2025-10-07T09:01:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c693b0e4771915127c8e097ae2d84dea53c2b339'/>
<id>c693b0e4771915127c8e097ae2d84dea53c2b339</id>
<content type='text'>
https://github.com/ruby/error_highlight/commit/5f976265ef
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/error_highlight/commit/5f976265ef
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Show a dedicated snippet for "wrong number of arguments" error</title>
<updated>2025-08-28T06:26:06+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2025-08-26T10:11:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=85e0c98cf0537c2049bfbbc2e21228264db90e00'/>
<id>85e0c98cf0537c2049bfbbc2e21228264db90e00</id>
<content type='text'>
This is an experimental implementation for
https://bugs.ruby-lang.org/issues/21543.

```
test.rb:2:in 'Object#foo': wrong number of arguments (given 1, expected 2) (ArgumentError)

    caller: test.rb:6
    |   foo(1)
        ^^^
    callee: test.rb:2
    | def foo(x, y)
          ^^^
        from test.rb:6:in 'Object#bar'
        from test.rb:10:in 'Object#baz'
        from test.rb:13:in '&lt;main&gt;'
```

https://github.com/ruby/error_highlight/commit/21e974e1c4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is an experimental implementation for
https://bugs.ruby-lang.org/issues/21543.

```
test.rb:2:in 'Object#foo': wrong number of arguments (given 1, expected 2) (ArgumentError)

    caller: test.rb:6
    |   foo(1)
        ^^^
    callee: test.rb:2
    | def foo(x, y)
          ^^^
        from test.rb:6:in 'Object#bar'
        from test.rb:10:in 'Object#baz'
        from test.rb:13:in '&lt;main&gt;'
```

https://github.com/ruby/error_highlight/commit/21e974e1c4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Enable ErrorHighlight for TypeError/ArgumentError only after Ruby 3.2</title>
<updated>2022-11-14T06:06:12+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2022-11-14T05:36:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8bfd4dd4e15a9ac3a308c3c45db629e74fae9b0c'/>
<id>8bfd4dd4e15a9ac3a308c3c45db629e74fae9b0c</id>
<content type='text'>
... because changing TypeError#message and ArgumentError#message is
highly incompatible.

https://github.com/ruby/error_highlight/commit/39aa897c7a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... because changing TypeError#message and ArgumentError#message is
highly incompatible.

https://github.com/ruby/error_highlight/commit/39aa897c7a
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Apply ErrorHighlight::CoreExt to TypeError and ArgumentError</title>
<updated>2022-08-19T09:34:15+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2022-08-19T09:33:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6bcb473d9cf00c113587a9fbb7605a2fe110862c'/>
<id>6bcb473d9cf00c113587a9fbb7605a2fe110862c</id>
<content type='text'>
https://github.com/ruby/error_highlight/commit/defcaf1beb
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/error_highlight/commit/defcaf1beb
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Make ErrorHighlight.spot accept Exception (https://github.com/ruby/error_highlight/pull/25)</title>
<updated>2022-08-10T09:37:13+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2022-08-10T09:36:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=99e7fa5b3718d61d61427c67d244ec50b9eb8578'/>
<id>99e7fa5b3718d61d61427c67d244ec50b9eb8578</id>
<content type='text'>
... and move things from core_ext.rb to base.rb.
This will confine CRuby-dependent things to ErrorHighlight.spot.

https://github.com/ruby/error_highlight/commit/22d1dd7824
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... and move things from core_ext.rb to base.rb.
This will confine CRuby-dependent things to ErrorHighlight.spot.

https://github.com/ruby/error_highlight/commit/22d1dd7824
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Use Exception#detailed_message instead of overriding #message (https://github.com/ruby/error_highlight/pull/24)</title>
<updated>2022-06-07T08:40:19+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2022-06-07T08:40:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f075be3dcb4b82b89496d1820002bf3d80f653ef'/>
<id>f075be3dcb4b82b89496d1820002bf3d80f653ef</id>
<content type='text'>
See https://bugs.ruby-lang.org/issues/18564.
Ref: https://github.com/ruby/did_you_mean/pull/177

https://github.com/ruby/error_highlight/commit/671b7c61b2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See https://bugs.ruby-lang.org/issues/18564.
Ref: https://github.com/ruby/did_you_mean/pull/177

https://github.com/ruby/error_highlight/commit/671b7c61b2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Fix the spurious TypeError.</title>
<updated>2022-01-04T14:09:01+00:00</updated>
<author>
<name>Christian Boos</name>
<email>cboos@bct-technology.com</email>
</author>
<published>2021-12-29T22:10:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=11b1ebe606a82bcdcb4ff5568f0302c5470d0048'/>
<id>11b1ebe606a82bcdcb4ff5568f0302c5470d0048</id>
<content type='text'>
When we have no backtrace locations, we can't have the highlight,
so just return the message.

https://github.com/ruby/error_highlight/commit/9f5c639494
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we have no backtrace locations, we can't have the highlight,
so just return the message.

https://github.com/ruby/error_highlight/commit/9f5c639494
</pre>
</div>
</content>
</entry>
</feed>
