diff options
| author | Earlopain <14981592+Earlopain@users.noreply.github.com> | 2025-09-15 08:39:30 +0200 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2025-09-15 11:03:12 +0000 |
| commit | 9299cf31b1607859daf89772b777f19f426bed80 (patch) | |
| tree | bb1d76ec5ee07483879165e3ffaa009104a20aea /string.c | |
| parent | 8ad5a0a8d92c1e8da7d1c26b1bc2495712cf41f3 (diff) | |
[ruby/prism] Fix warn polyfill when no uplevel is provided
An unspecified uplevel is not the same as an uplevel of 1:
```
$ irb
irb(main):001> warn("foo")
foo
=> nil
irb(main):002> 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
=> nil
```
https://github.com/ruby/prism/commit/dcedd14357
Diffstat (limited to 'string.c')
0 files changed, 0 insertions, 0 deletions
