ruby / rbs

Type Signature for Ruby
Other
1.91k stars 201 forks source link

Revise `#divmod` method so that `sleep` can accept `Float` and `Rational` #1868

Closed soutaro closed 3 weeks ago

soutaro commented 3 weeks ago

This PR also adds typecheck_test rake task. Some complicated type definition causes unexpected type errors that cannot be detected using runtime tests.

soutaro commented 3 weeks ago

The added typecheck_test job is not required, because there may be a situation that cannot be successful -- when rbs gem is updated and steep needs update too.