<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/spec/ruby/core/kernel/caller_spec.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>Update to ruby/spec@6e62695</title>
<updated>2025-11-19T22:37:37+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2025-11-19T22:37:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ba2b97a9440d92e78d519fbcbdecc25b72a42705'/>
<id>ba2b97a9440d92e78d519fbcbdecc25b72a42705</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Exclude internal frames from backtrace</title>
<updated>2025-06-18T05:51:56+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2025-05-02T08:12:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=10767283dd0277a1d780790ce6bde67cf2c832a2'/>
<id>10767283dd0277a1d780790ce6bde67cf2c832a2</id>
<content type='text'>
This changeset suppresses backtrace locations like
`&lt;internal:array&gt;:211` as much as possible.

Before the patch:
```
$ ruby -e '[1].fetch_values(42)'
&lt;internal:array&gt;:211:in 'Array#fetch': index 42 outside of array bounds: -1...1 (IndexError)
        from &lt;internal:array&gt;:211:in 'block in Array#fetch_values'
        from &lt;internal:array&gt;:211:in 'Array#map!'
        from &lt;internal:array&gt;:211:in 'Array#fetch_values'
        from -e:1:in '&lt;main&gt;'
```

After the patch:
```
$ ./miniruby -e '[1].fetch_values(42)'
-e:1:in 'Array#fetch_values': index 42 outside of array bounds: -1...1 (IndexError)
        from -e:1:in '&lt;main&gt;'
```

Specifically:

* The special backtrace handling of BUILTIN_ATTR_C_TRACE is now always
  applied to frames with `&lt;internal:...&gt;`.
* When multiple consecutive internal frames appear, all but the bottom
  (caller-side) frame are removed.

[Misc #20968]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changeset suppresses backtrace locations like
`&lt;internal:array&gt;:211` as much as possible.

Before the patch:
```
$ ruby -e '[1].fetch_values(42)'
&lt;internal:array&gt;:211:in 'Array#fetch': index 42 outside of array bounds: -1...1 (IndexError)
        from &lt;internal:array&gt;:211:in 'block in Array#fetch_values'
        from &lt;internal:array&gt;:211:in 'Array#map!'
        from &lt;internal:array&gt;:211:in 'Array#fetch_values'
        from -e:1:in '&lt;main&gt;'
```

After the patch:
```
$ ./miniruby -e '[1].fetch_values(42)'
-e:1:in 'Array#fetch_values': index 42 outside of array bounds: -1...1 (IndexError)
        from -e:1:in '&lt;main&gt;'
```

Specifically:

* The special backtrace handling of BUILTIN_ATTR_C_TRACE is now always
  applied to frames with `&lt;internal:...&gt;`.
* When multiple consecutive internal frames appear, all but the bottom
  (caller-side) frame are removed.

[Misc #20968]
</pre>
</div>
</content>
</entry>
<entry>
<title>Update to ruby/spec@f8987ac</title>
<updated>2024-07-02T11:33:48+00:00</updated>
<author>
<name>Andrew Konchin</name>
<email>andry.konchin@gmail.com</email>
</author>
<published>2024-07-01T12:38:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cee62c6738c42ce774e96e180cf2d46afb8e9cbe'/>
<id>cee62c6738c42ce774e96e180cf2d46afb8e9cbe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ruby-spec: Accept the receiver in backtraces</title>
<updated>2024-02-15T10:11:58+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2024-02-15T07:00:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8f2c231642c9f94947b75769d3cc21b1127b2135'/>
<id>8f2c231642c9f94947b75769d3cc21b1127b2135</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ruby-spec: Accept both a backtick and a single quote in error messages</title>
<updated>2024-02-15T09:42:31+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2024-02-15T04:00:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8259f35adc67ab34bb521f0e8a298fb00629b958'/>
<id>8259f35adc67ab34bb521f0e8a298fb00629b958</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update to ruby/spec@3affe1e</title>
<updated>2022-04-25T12:53:54+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2022-04-25T12:53:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=45cf4f218728a15eb36d14a6c9912086525f5e3f'/>
<id>45cf4f218728a15eb36d14a6c9912086525f5e3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update to ruby/spec@b65d01f</title>
<updated>2021-07-29T20:11:21+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2021-07-29T20:11:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6998d758248d778fa95b008c78d05473e48b8428'/>
<id>6998d758248d778fa95b008c78d05473e48b8428</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update to ruby/spec@8cafaa5</title>
<updated>2021-01-28T16:08:57+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2021-01-28T16:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2e32b919b4f2f5b7f2e1509d6fa985526ef1f61c'/>
<id>2e32b919b4f2f5b7f2e1509d6fa985526ef1f61c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add specs that #caller and #caller_locations include core library methods defined in Ruby</title>
<updated>2020-10-26T07:47:33+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2020-10-11T11:51:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fbb2d30ee69c68ffad6287c12ca5a43753cd1b9a'/>
<id>fbb2d30ee69c68ffad6287c12ca5a43753cd1b9a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update to ruby/spec@032ee74</title>
<updated>2020-05-03T10:28:29+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2020-05-03T10:28:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5aaa75e7c1f4b7912c10ffdcb1cac581e20eda39'/>
<id>5aaa75e7c1f4b7912c10ffdcb1cac581e20eda39</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
