We just updated sorbet and tapioca to the latest versions (0.11.5 respectively), and regenerated all gems RBIs.
For some reason, signatures bundled with this gem were previously ignored, but they're not anymore (which is great!).
However, there seems to be a small issue:
$ bundle exec srb tc
sorbet/rbi/gems/pdf-reader@2.11.0.rbi:2216: Unable to resolve constant `EventPoint` https://srb.help/5002
2216 | sig { params(sweep_line_status: T::Array[PDF::Reader::TextRun], event_point: EventPoint).returns(T::Boolean) }
^^^^^^^^^^
Did you mean `PDF::Reader::EventPoint`? Use `-a` to autocorrect
sorbet/rbi/gems/pdf-reader@2.11.0.rbi:2216: Replace with `PDF::Reader::EventPoint`
2216 | sig { params(sweep_line_status: T::Array[PDF::Reader::TextRun], event_point: EventPoint).returns(T::Boolean) }
^^^^^^^^^^
sorbet/rbi/gems/pdf-reader@2.11.0.rbi:785: `PDF::Reader::EventPoint` defined here
785 |class PDF::Reader::EventPoint
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Errors: 1
I checked the code, and the error seems to be originating from here.
My guess is that this is due to the EventPoint class being defined later in the file, but I'm surprised this hasn't caused any issue before.
We just updated
sorbet
andtapioca
to the latest versions (0.11.5 respectively), and regenerated all gems RBIs. For some reason, signatures bundled with this gem were previously ignored, but they're not anymore (which is great!). However, there seems to be a small issue:I checked the code, and the error seems to be originating from here.
My guess is that this is due to the EventPoint class being defined later in the file, but I'm surprised this hasn't caused any issue before.