<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/error_highlight, branch v4.0.3</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] Fix prism_spot_def_for_name for singletons</title>
<updated>2025-11-19T22:27:28+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2025-11-19T21:08:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4e1f20fee6d97b6dc65e0d4eac1f9cc37312bd5f'/>
<id>4e1f20fee6d97b6dc65e0d4eac1f9cc37312bd5f</id>
<content type='text'>
Previously calling a singleton method with invalid arguments would give:

    RuntimeError: Incompatible locations

This is because `join` wants the operator to come before the location

https://github.com/ruby/error_highlight/commit/44920551dd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously calling a singleton method with invalid arguments would give:

    RuntimeError: Incompatible locations

This is because `join` wants the operator to come before the location

https://github.com/ruby/error_highlight/commit/44920551dd
</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] Remove a branch for Ruby 3.1</title>
<updated>2025-08-28T06:35:10+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2025-08-28T06:32:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b85b2b84ad407b4653b6762ee61db0676655b21d'/>
<id>b85b2b84ad407b4653b6762ee61db0676655b21d</id>
<content type='text'>
https://github.com/ruby/error_highlight/commit/d3063cde62
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/error_highlight/commit/d3063cde62
</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] Ensure first_line and last_line are set</title>
<updated>2025-01-29T08:51:42+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2025-01-29T08:33:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e01b4ca1c8eb24528b950bf77c9d0415bf1a1719'/>
<id>e01b4ca1c8eb24528b950bf77c9d0415bf1a1719</id>
<content type='text'>
Fixes https://github.com/ruby/error_highlight/pull/58

https://github.com/ruby/error_highlight/commit/9ddc1f31a9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes https://github.com/ruby/error_highlight/pull/58

https://github.com/ruby/error_highlight/commit/9ddc1f31a9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] use `instance_method` to get method object</title>
<updated>2024-10-31T00:30:10+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2024-10-30T20:17:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=583587dfbf524b96593f5469d68c844c7297ba98'/>
<id>583587dfbf524b96593f5469d68c844c7297ba98</id>
<content type='text'>
instead of `method()`.

There is a bug around `define_method`, so this patch is workaround.

https://github.com/ruby/error_highlight/commit/4d04537f58
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
instead of `method()`.

There is a bug around `define_method`, so this patch is workaround.

https://github.com/ruby/error_highlight/commit/4d04537f58
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Redefine in the module context</title>
<updated>2024-10-29T17:40:08+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-10-29T17:37:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a9f509e6c56f762d7825cca7ace33015be6fc05f'/>
<id>a9f509e6c56f762d7825cca7ace33015be6fc05f</id>
<content type='text'>
https://github.com/ruby/error_highlight/commit/0048bd0285
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/error_highlight/commit/0048bd0285
</pre>
</div>
</content>
</entry>
</feed>
