You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/.gem/truffleruby/2.6.5/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1514:in `caller_locations': wrong number of arguments (given 2, expected 0) (ArgumentError)
from ~/dev/truffleruby/bugs/sinatra/config.ru:8:in `__dir__'
from ~/dev/truffleruby/bugs/sinatra/config.ru:8:in `block (2 levels) in for'
from ~/dev/truffleruby/bugs/sinatra/config.ru:7:in `instance_exec'
from ~/dev/truffleruby/bugs/sinatra/config.ru:7:in `block in for'
from ~/dev/truffleruby/bugs/sinatra/config.ru:6:in `tap'
from ~/dev/truffleruby/bugs/sinatra/config.ru:6:in `for'
The text was updated successfully, but these errors were encountered:
This is minimal reproducible code extracted from ruby_event_store-browser. The problem lies in https://github.com/sinatra/sinatra/blob/master/lib/sinatra/base.rb#L1514 It's in conflict with
Kernel.caller_locations
. No issue under MRI though.To reproduce:
config.ru
Error:
The text was updated successfully, but these errors were encountered: