-
Notifications
You must be signed in to change notification settings - Fork 85
rails_rbi:jobs
raise unknown prefix error
#538
Comments
I'm running into this too while upgrading to Ruby 3.2.
After poking around a bit, it looks like the "unknown prefix" error is coming from Parlour: Parlour appears to be struggling with "forward everything arguments" (https://bugs.ruby-lang.org/issues/16253) which ActiveJob uses for The method Parlour is generating RBI for is re-constructed in sorbet-rails around: sorbet-rails/lib/sorbet-rails/sorbet_utils.rb Lines 23 to 69 in 447ecbe
That method is generating invalid Parlour Parameters:
Prints:
This fix (which I'm hoping to have a PR for today if I don't get terribly sidetracked) appears to be updating |
This also happens when |
Describe the bug:
After running
rails_rbi:jobs
, following error occured.Steps to reproduce:
rails_rbi:jobs
Expected behavior:
Expect to generate sigs successfully.
Versions:
The text was updated successfully, but these errors were encountered: