summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorEarlopain <14981592+Earlopain@users.noreply.github.com>2025-09-15 08:39:30 +0200
committergit <svn-admin@ruby-lang.org>2025-09-15 11:03:12 +0000
commit9299cf31b1607859daf89772b777f19f426bed80 (patch)
treebb1d76ec5ee07483879165e3ffaa009104a20aea /string.c
parent8ad5a0a8d92c1e8da7d1c26b1bc2495712cf41f3 (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