Describe the bug:
Sorbet 0.5.9892 and above includes sorbet/sorbet#5639 which causes regressions due to the changed type_member syntax. As mentioned there, the new syntax is supported on 0.5.9889 and above.
Steps to reproduce:
Run rails_rbi:models and see an error
sorbet/rails-rbi/models/MODEL.rbi:779: The `type_member` syntax for bounds has changed to use a block instead of keyword args https://srb.help/4021
779 | Elem = type_member(fixed: Model)
^^^^^^^^^^^^
Expected behavior:
No errors.
Workaround
Till this is fixed, we're using the following sed script:
Describe the bug: Sorbet 0.5.9892 and above includes sorbet/sorbet#5639 which causes regressions due to the changed
type_member
syntax. As mentioned there, the new syntax is supported on 0.5.9889 and above.Steps to reproduce: Run
rails_rbi:models
and see an errorExpected behavior: No errors.
Workaround
Till this is fixed, we're using the following
sed
script: