pointfreeco / swift-parsing

A library for turning nebulous data into well-structured data, with a focus on composition, performance, generality, and ergonomics.
https://www.pointfree.co/collections/parsing
MIT License
864 stars 77 forks source link

Fixed non throwing parsers crash #347

Open tplaymeow opened 6 months ago

tplaymeow commented 6 months ago

The End parser that is used in parse functions (1, 2) can throw errors, but due to a bug in the swift compiler, it was possible to call the parse functions without the try keyword for non-throwing parsers that cannot throw errors.

Issues: