[edn] Don't unwrap when creating values while parsing EDN #112

Open
opened 2020-08-06 16:55:06 +00:00 by gburd · 0 comments
gburd commented 2020-08-06 16:55:06 +00:00 (Migrated from github.com)

E.g. ab041291fb/edn/src/edn.rustpeg (L45) and in a few other places.

Panicking the entire thread while parsing is probably a bad idea? This would be easily recoverable and a good place to add syntax check info.

E.g. https://github.com/mozilla/mentat/blob/ab041291fb1d806fc1e9c09ecac4a931289bd38f/edn/src/edn.rustpeg#L45 and in a few other places. Panicking the entire thread while parsing is probably a bad idea? This would be easily recoverable and a good place to add syntax check info.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: greg/mentat#112
No description provided.