spoom
spoom copied to clipboard
Useful tools for Sorbet enthusiasts
Consider the following `file.rb`: ```rb # typed: strict class Foo sig { returns(String) } attr_reader :x sig { params(x: String).void } def initialize(x) @x = x end end ``` We...
@shioyama it looks like it works. Do you have an example where it didn't?
GitHub doesn't seem to create a GitHub release automatically and we have to do it manually https://github.com/Shopify/spoom/releases/tag/v1.7.4
- Possible solution to https://github.com/Shopify/spoom/issues/752 We coded this to see if it could be handled in spoom. Discussion was whether this should be in `rbi` instead. This might have some...
The update to rbi 0.3.8 changed some output with a Ruby global scope operator added, so `T.class_of(Foo::Bar)` becomes `::T.class_of(Foo::Bar)`.
**Describe the bug** When using `Spoom::Sorbet::Translate.rbs_comments_to_sorbet_sig`, the line numbers aren't preserved. If the rewritten code is used in lieu of the original source, errors and stacktraces don't line up with...