<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/ruby/test_defined.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>Handle void expressions in defined?</title>
<updated>2025-03-18T18:44:28+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2025-03-18T17:40:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=adaaa7878ebee62888bf3547d14c1db4938da88a'/>
<id>adaaa7878ebee62888bf3547d14c1db4938da88a</id>
<content type='text'>
[Bug #21029]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Bug #21029]
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle hash and splat nodes in defined?</title>
<updated>2024-06-24T18:32:58+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2024-06-24T18:32:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ae0c7faa79029ebe615487d23c8ee1ca44ce4a36'/>
<id>ae0c7faa79029ebe615487d23c8ee1ca44ce4a36</id>
<content type='text'>
This supports the nodes in both in the parse.y and prism compilers.

Fixes [Bug #20043]

Co-authored-by: Kevin Newton &lt;kddnewton@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This supports the nodes in both in the parse.y and prism compilers.

Fixes [Bug #20043]

Co-authored-by: Kevin Newton &lt;kddnewton@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Make defined? for op asgn expressions to constants use "assignment"</title>
<updated>2024-01-11T00:02:38+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2024-01-10T21:07:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ef751252711ca7ecabb3e4ad9214fa0d1d63608a'/>
<id>ef751252711ca7ecabb3e4ad9214fa0d1d63608a</id>
<content type='text'>
Previously, it used "expression", as that was the default.  However,
op asgn expressions to constants use the NODE_OP_CDECL, so recognize
that node type as assignement.

Fixes [Bug #20111]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, it used "expression", as that was the default.  However,
op asgn expressions to constants use the NODE_OP_CDECL, so recognize
that node type as assignement.

Fixes [Bug #20111]
</pre>
</div>
</content>
</entry>
<entry>
<title>Wrap `undef_method :a` with `ensure`</title>
<updated>2023-04-26T14:21:20+00:00</updated>
<author>
<name>Gary Tou</name>
<email>gary@garytou.com</email>
</author>
<published>2023-04-26T13:08:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=78be6696d864513ffad395ecd37d582143ca1216'/>
<id>78be6696d864513ffad395ecd37d582143ca1216</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Test: `defined?(super)` in `BasicObject` returns `nil`</title>
<updated>2023-04-26T14:21:20+00:00</updated>
<author>
<name>Gary Tou</name>
<email>gary@garytou.com</email>
</author>
<published>2023-04-26T03:22:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5dd46a345a7f02a55ef26302ae4d52473c433da0'/>
<id>5dd46a345a7f02a55ef26302ae4d52473c433da0</id>
<content type='text'>
Ensure it returns `nil` instead of segmentation faulting
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure it returns `nil` instead of segmentation faulting
</pre>
</div>
</content>
</entry>
<entry>
<title>Add more tests for defined? with method calls</title>
<updated>2021-03-29T14:45:15+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2021-02-23T20:21:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=62e66aedb08745eb7ff95575b5555c72baf1d961'/>
<id>62e66aedb08745eb7ff95575b5555c72baf1d961</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Warn the defined location as deprecation as well as the main message</title>
<updated>2021-01-23T10:58:39+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-01-23T10:57:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8dfae85adb96cf3da84bf38f2103969d4a7aed3f'/>
<id>8dfae85adb96cf3da84bf38f2103969d4a7aed3f</id>
<content type='text'>
[Bug #17575]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Bug #17575]
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[Bug #11213] let defined?(super) call respond_to_missing?"</title>
<updated>2021-01-13T09:11:46+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2021-01-13T07:49:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=85b5d4c8bf4cdcba4f1af65f2bc0c8ac716cb795'/>
<id>85b5d4c8bf4cdcba4f1af65f2bc0c8ac716cb795</id>
<content type='text'>
This reverts commit fac2498e0299f13dffe4f09a7dd7657fb49bf643 for
now, due to [Bug #17509], the breakage in the case `super` is
called in `respond_to?`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit fac2498e0299f13dffe4f09a7dd7657fb49bf643 for
now, due to [Bug #17509], the breakage in the case `super` is
called in `respond_to?`.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #11213] let defined?(super) call respond_to_missing?</title>
<updated>2020-11-20T07:04:45+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-11-17T12:17:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fac2498e0299f13dffe4f09a7dd7657fb49bf643'/>
<id>fac2498e0299f13dffe4f09a7dd7657fb49bf643</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Properly resolve refinements in defined? on private call [Bug #16932]</title>
<updated>2020-06-03T17:12:57+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2020-06-03T14:06:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=184f78314e98cab63e7503cead4a4e99bd132a08'/>
<id>184f78314e98cab63e7503cead4a4e99bd132a08</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
