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
editor.rb:3: Method sig does not exist on T.class_of(A) https://srb.help/7003
3 | sig { returns(String)}
^^^^^^^^^^^^^^^^^^^^^^^
https://github.com/sorbet/sorbet/tree/master/rbi/core/kernel.rbi#L554: Did you mean: Kernel#send?
554 | def send(arg0, *arg1, &blk); end
^^^^^^^^^^^^^^^^^^^^^^^^^^^
and then to have special handling in calls.cc to ensure that if we ever did see such a <Magic>.sig call, that sig must be a valid method on self when given the same args.
Input
→ View on sorbet.run
Observed output
Expected behavior
Sorbet should say:
Context
Context from slack:
The text was updated successfully, but these errors were encountered: