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
First, thank you for creating this project! Shale is a very nicely designed library and I've enjoyed working with it.
My only feature request is for you to add an RBS type signature file (sig/shale.rbs) to this project. I type check my code with Steep and now that many of my classes inherit from Steep::Mapper, my type checker is throwing dozens of errors.
If you'd like to see an example, here is an .rbs file and Steepfile from one of my projects.
You may also find typeprof useful to generate RBS scaffolding.
The text was updated successfully, but these errors were encountered:
When I run bundle exec rake steep, it detects 245 problems in the auto-generated type signatures. I'm not sure I have the expertise in this library necessary to fix them, but I figured I would update this issue with the scaffolding I generated in case that inspires someone else to attempt to resolve these problems.
I believe the majority of these issues can be resolved by adding nil checks or specifying that the value will not be nil in the type signature.
First, thank you for creating this project! Shale is a very nicely designed library and I've enjoyed working with it.
My only feature request is for you to add an RBS type signature file (
sig/shale.rbs
) to this project. I type check my code with Steep and now that many of my classes inherit fromSteep::Mapper
, my type checker is throwing dozens of errors.If you'd like to see an example, here is an
.rbs
file andSteepfile
from one of my projects.You may also find
typeprof
useful to generate RBS scaffolding.The text was updated successfully, but these errors were encountered: