-
Notifications
You must be signed in to change notification settings - Fork 82
Should we support jobs with specific arguments? #238
Comments
If the answer is no, that's fine, but then it seems job files will not be able to have a sigil higher than |
I think if you re-run Those are sorbet-specific behavior. For |
I mean removing the sig from |
Aha! It does. So, the lesson is: after I change a sigil from I will make a PR to add this tip to the sigil page of the sorbet docs.
Sure, sounds like fun. I'll open a new issue to discuss. |
Describe the bug:
When
hidden.rbi
contains something like this,(I'll refer to these as "non-specific" arguments.)
And
jobs/delete_books_job.rb
looks like this,(I'll refer to these as "specific" arguments.)
then
srb
produces an errorMy question is:
Should we support jobs with specific arguments, according to my definition of "specific" given above?
Steps to reproduce:
Edit
jobs/delete_books_job.rb
as follows:Notice the
typed: false
.Run
srb
, see error:Expected behavior:
srb
should not produce error.Versions:
The text was updated successfully, but these errors were encountered: