Created
October 9, 2019 17:18
-
-
Save jasnow/b99bc9f4e4ccc5c50b7f219b0767cc78 to your computer and use it in GitHub Desktop.
rails_app5_2 - changed typed from false to true and ran "srb tc" and got 5 errors.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sorbet/rbi/gems/sorbet-rails.rbi:166: Method `ITypeAssert#assert` redefined with mismatched argument attribute `isRepeated`. Expected: `false`, got: `true` https://srb.help/4010 | |
166 | def assert(*args, &blk); end | |
^^^^^^^^^^^^^^^^^^^^^^^ | |
sorbet/rails-rbi/type_assert.rbi:12: Previous definition | |
12 | def assert(val); end | |
^^^^^^^^^^^^^^^ | |
sorbet/rbi/gems/sorbet-rails.rbi:176: Method `TA#assert` redefined with mismatched argument attribute `isRepeated`. Expected: `false`, got: `true` https://srb.help/4010 | |
176 | def assert(*args, &blk); end | |
^^^^^^^^^^^^^^^^^^^^^^^ | |
sorbet/rails-rbi/type_assert.rbi:26: Previous definition | |
26 | def assert(val); end | |
^^^^^^^^^^^^^^^ | |
sorbet/rbi/gems/sorbet-rails.rbi:206: Method `SorbetRails::CustomParamsMethods#fetch_typed` redefined without matching argument count. Expected: `3`, got: `1` https://srb.help/4010 | |
206 | def fetch_typed(*args, &blk); end | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
sorbet/rails-rbi/parameters.rbi:23: Previous definition | |
23 | def fetch_typed(key, ta, *args); end | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
sorbet/rbi/gems/sorbet-rails.rbi:207: Method `SorbetRails::CustomParamsMethods#require_typed` redefined without matching argument count. Expected: `2`, got: `1` https://srb.help/4010 | |
207 | def require_typed(*args, &blk); end | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
sorbet/rails-rbi/parameters.rbi:11: Previous definition | |
11 | def require_typed(key, ta); end | |
^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
sorbet/rbi/gems/sorbet-rails.rbi:236: Method `SorbetRails::PluckToTStruct#pluck_to_tstruct` redefined with mismatched argument attribute `isRepeated`. Expected: `false`, got: `true` https://srb.help/4010 | |
236 | def pluck_to_tstruct(*args, &blk); end | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
sorbet/rails-rbi/pluck_to_tstruct.rbi:12: Previous definition | |
12 | def pluck_to_tstruct(ta_struct, &blk); end | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
Errors: 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment