yob / pdf-reader

The PDF::Reader library implements a PDF parser conforming as much as possible to the PDF specification from Adobe.
MIT License
1.81k stars 271 forks source link

change PDF::Reader to `typed: strict` #474

Closed yob closed 2 years ago

yob commented 2 years ago

slowly slowly rolling out strict.

This was a fun one - sorbet pointed out that the type check in root() isn't needed any more - type typed deref_hash() does that for us.