Closed andyw8 closed 7 months ago
I tried again and didn't encounter this, so I'll close for now.
Ok I can reproduce on https://github.com/Shopify/ruby-lsp/pull/1913 with bundle exec tapioca gem prism
@kddnewton were there are changes around RBI generation that might relate to this?
I don't think so, I think this is a hand-written file. Can you open a PR?
I think I already fixed it in https://github.com/ruby/prism/pull/2685.
I haven't yet determined if this is an issue in Prism or Tapioca:
When generating the RBI for the latest Prism (v0.25.0), it fails with:
The RBI entry contains the
offset
argument twice:but it's not duplicated in https://github.com/ruby/prism/blob/5146cc2c12e2a273d7672ba7d8711c637babade0/rbi/prism.rbi#L49-L50