Conversation
|
Oh exciting! I missed that Sorbet added support for RBS type aliases! |
4893e3d to
485aaca
Compare
485aaca to
1c2ce8d
Compare
493feaf to
58d10cb
Compare
templates/lib/herb/ast/nodes.rb.erb
Outdated
| output += "│ └── " | ||
| <%- end -%> | ||
| output += <%= field.name %>.tree_inspect(indent).gsub(/^/, " " * (indent + 1)).lstrip.gsub(/^/, "<%= prefix %>").delete_prefix("<%= prefix %>") | ||
| output += <%= field.name %>&.tree_inspect(indent)&.gsub(/^/, " " * (indent + 1))&.lstrip&.gsub(/^/, "<%= prefix %>")&.delete_prefix("<%= prefix %>") || "" |
There was a problem hiding this comment.
I wonder if it might be worth to report this on Sorbet
|
Bumping this @marcoroth ⬆️ let me know if this approach makes sense or if there's something I can change |
|
Hey @mickeytgl, is this one ready to go from your side? |
|
Yes, all good. sorbet should now be green. I explicitely didn't add tying on some files (like |
There was a problem hiding this comment.
Hey @mickeytgl, thanks for working on this! I just got around to review this!
This looks good so far, but I noticed that the *.rbs files are not up-to-date. If you run bundle exec rake rbs_inline it will regenerate the *.rbs files in sig/.
But doing so leads to both failing srb tc and steep check for me locally. Would you mind taking a look? Thank you!
e956677 to
8696681
Compare
Signed-off-by: Marco Roth <marco.roth@intergga.ch>

Now that Sorbet supports RBS aliases, this PR updates the Gemfile and modifies the files under
/libto fix any type errors raised by SorbetResolves #114