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
Replace deterministic untyped return types with concrete types
Several methods were typed `-> untyped` even though their return value
is determined by the implementation. Give them concrete types:
- `StringIO#putc`, `Zlib::GzipWriter#putc` -> `Numeric | String` (returns the argument)
- `Zlib::GzipFile#sync=` -> `boolish` (setter returns the argument)
- `MonitorMixin::ConditionVariable#wait_for_cond` / `#wait` -> `bool`
- `MonitorMixin::ConditionVariable#wait_until` / `#wait_while` -> `nil` (loop expression)
- `ERB#run` -> `nil`, `ERB#initialize` -> `void`
- `ERB#def_method`, `ERB::DefMethod.def_erb_method` -> `Symbol`
0 commit comments