<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby.git/proc.c, branch ruby_3_2</title>
<subtitle>github.com: ruby/ruby.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/'/>
<entry>
<title>Docs: Separate documentation for UnboundMethod#==</title>
<updated>2022-12-23T16:09:49+00:00</updated>
<author>
<name>zverok</name>
<email>zverok.offline@gmail.com</email>
</author>
<published>2022-12-21T19:51:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=64cdf1936a3952fbd43083de55244dd1b701cce6'/>
<id>64cdf1936a3952fbd43083de55244dd1b701cce6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>UnboundMethod only refer defined_class</title>
<updated>2022-12-02T23:53:12+00:00</updated>
<author>
<name>Koichi Sasada</name>
<email>ko1@atdot.net</email>
</author>
<published>2022-12-02T20:55:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=59e389af2893c0fcf8b2cfa008c9a16825bf56ff'/>
<id>59e389af2893c0fcf8b2cfa008c9a16825bf56ff</id>
<content type='text'>
UnboundMethod records caller's class, like `D` or `E` on the
following case:

```ruby
class C
  def foo = :foo
end

class D &lt; C
end

class E &lt; C
end

d = D.instance_method(:foo)
e = E.instance_method(:foo)
```

But `d` and `e` only refers `C#foo` so that UnboundMethod doesn't
record `D` or `E`. This behavior changes the following methods:

* `UnboundMethod#inspect` (doesn't show caller's class)
* `UnboundMethod#==` (`d == e` for example)

fix https://bugs.ruby-lang.org/issues/18798
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
UnboundMethod records caller's class, like `D` or `E` on the
following case:

```ruby
class C
  def foo = :foo
end

class D &lt; C
end

class E &lt; C
end

d = D.instance_method(:foo)
e = E.instance_method(:foo)
```

But `d` and `e` only refers `C#foo` so that UnboundMethod doesn't
record `D` or `E`. This behavior changes the following methods:

* `UnboundMethod#inspect` (doesn't show caller's class)
* `UnboundMethod#==` (`d == e` for example)

fix https://bugs.ruby-lang.org/issues/18798
</pre>
</div>
</content>
</entry>
<entry>
<title>Using UNDEF_P macro</title>
<updated>2022-11-16T09:58:33+00:00</updated>
<author>
<name>S-H-GAMELINKS</name>
<email>gamelinks007@gmail.com</email>
</author>
<published>2022-11-15T04:24:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=1f4f6c9832d83e7ebd65ccf4e95cef358b3512c6'/>
<id>1f4f6c9832d83e7ebd65ccf4e95cef358b3512c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use RTEST to to check return value</title>
<updated>2022-11-04T13:02:58+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2022-11-04T13:02:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=93f364d65e25187ce3c1dd5172a00264804e9380'/>
<id>93f364d65e25187ce3c1dd5172a00264804e9380</id>
<content type='text'>
rb_obj_is_kind_of returns a Ruby Qtrue or Qfalse. We should use RTEST
rather than assuming that Qfalse is 0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rb_obj_is_kind_of returns a Ruby Qtrue or Qfalse. We should use RTEST
rather than assuming that Qfalse is 0.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unnecessary branch in `UnboundMethod#bind`</title>
<updated>2022-11-04T12:57:01+00:00</updated>
<author>
<name>Alexander Momchilov</name>
<email>alexander.momchilov@shopify.com</email>
</author>
<published>2022-11-03T18:59:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=76a6c5d6d16cd0e55df15d66d53c6d7a9614f3d6'/>
<id>76a6c5d6d16cd0e55df15d66d53c6d7a9614f3d6</id>
<content type='text'>
Co-authored-by: Michael Herold &lt;michael.herold@shopify.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Michael Herold &lt;michael.herold@shopify.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark struct METHOD-&gt;owner for the GC</title>
<updated>2022-10-03T10:03:46+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2022-10-03T10:03:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=b91f685a2615ef957210f5e3a50c0e8299c20c55'/>
<id>b91f685a2615ef957210f5e3a50c0e8299c20c55</id>
<content type='text'>
* Fixes https://github.com/ruby/ruby/commit/6b7d32a5e5
* See [Bug #18729]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fixes https://github.com/ruby/ruby/commit/6b7d32a5e5
* See [Bug #18729]
</pre>
</div>
</content>
</entry>
<entry>
<title>Reduce diff to proc.c @ b0b9f7201acab05c2a3ad92c3043a1f01df3e17f</title>
<updated>2022-09-29T13:48:35+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2022-09-29T10:09:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=aa490f9442c32cd0e1e449ac817f410bd5924c8b'/>
<id>aa490f9442c32cd0e1e449ac817f410bd5924c8b</id>
<content type='text'>
* So it's easy to review https://github.com/ruby/ruby/pull/6242 +
  https://github.com/ruby/ruby/pull/6467 and there are less changes
  overall.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* So it's easy to review https://github.com/ruby/ruby/pull/6242 +
  https://github.com/ruby/ruby/pull/6467 and there are less changes
  overall.
</pre>
</div>
</content>
</entry>
<entry>
<title>Resolve zsuper method during lookup but preserve owner separately</title>
<updated>2022-09-29T13:48:35+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2022-09-28T17:49:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=6b7d32a5e54088b6b4014529bbf2b4b8c1a96029'/>
<id>6b7d32a5e54088b6b4014529bbf2b4b8c1a96029</id>
<content type='text'>
* See https://bugs.ruby-lang.org/issues/18729#note-34
* See [Bug #18729]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* See https://bugs.ruby-lang.org/issues/18729#note-34
* See [Bug #18729]
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix {Method,UnboundMethod}#super_method for zsuper methods</title>
<updated>2022-09-29T13:48:35+00:00</updated>
<author>
<name>Benoit Daloze</name>
<email>eregontp@gmail.com</email>
</author>
<published>2022-09-28T16:54:05+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=94cea3e4d0a60326bd95be762819eed8ccd59ca6'/>
<id>94cea3e4d0a60326bd95be762819eed8ccd59ca6</id>
<content type='text'>
* We need to resolve the zsuper method first, and then look the super
  method of that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* We need to resolve the zsuper method first, and then look the super
  method of that.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rework vm_core to use `int first_lineno` struct member.</title>
<updated>2022-09-25T11:41:16+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2022-09-25T08:07:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby.git/commit/?id=22af2e9084d869b0d1eb24e4c11bc1fd62b7c50d'/>
<id>22af2e9084d869b0d1eb24e4c11bc1fd62b7c50d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
