<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/prism/polyfill/warn.rb, 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/prism] Fix warn polyfill when no uplevel is provided</title>
<updated>2025-09-15T11:03:12+00:00</updated>
<author>
<name>Earlopain</name>
<email>14981592+Earlopain@users.noreply.github.com</email>
</author>
<published>2025-09-15T06:39:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9299cf31b1607859daf89772b777f19f426bed80'/>
<id>9299cf31b1607859daf89772b777f19f426bed80</id>
<content type='text'>
An unspecified uplevel is not the same as an uplevel of 1:

```
$ irb
irb(main):001&gt; warn("foo")
foo
=&gt; nil
irb(main):002&gt; warn("foo", uplevel: 1)
/home/user/.rbenv/versions/2.7.8/lib/ruby/gems/2.7.0/gems/irb-1.14.0/lib/irb/workspace.rb:121: warning: foo
=&gt; nil
```

https://github.com/ruby/prism/commit/dcedd14357
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An unspecified uplevel is not the same as an uplevel of 1:

```
$ irb
irb(main):001&gt; warn("foo")
foo
=&gt; nil
irb(main):002&gt; warn("foo", uplevel: 1)
/home/user/.rbenv/versions/2.7.8/lib/ruby/gems/2.7.0/gems/irb-1.14.0/lib/irb/workspace.rb:121: warning: foo
=&gt; nil
```

https://github.com/ruby/prism/commit/dcedd14357
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/prism] Polyfill Kernel#warn category parameter</title>
<updated>2025-03-19T21:03:18+00:00</updated>
<author>
<name>Kevin Newton</name>
<email>kddnewton@gmail.com</email>
</author>
<published>2025-03-19T18:54:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=050ffab82b1a855d6b6edf5fbc6dc8c9311b6556'/>
<id>050ffab82b1a855d6b6edf5fbc6dc8c9311b6556</id>
<content type='text'>
https://github.com/ruby/prism/commit/d85c72a1b9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/prism/commit/d85c72a1b9
</pre>
</div>
</content>
</entry>
</feed>
