ch-systems / petr

the petr programming language -- Programmable Effects TRacking
https://playground.petr.sh
5 stars 0 forks source link

Better error message on failed type parse #135

Open sezna opened 1 month ago

sezna commented 1 month ago

Currently just throws "expected literal" which is very wrong https://github.com/ch-systems/petr/issues/111 could help


https://github.com/ch-systems/petr/blob/6c2873ba8cc2d900ed0ca7fea1ef683ea035d17b/petr-parse/src/parse_to_ast.rs#L230-L235


This issue was generated by todo-issue based on a TODO comment in 6c2873ba8cc2d900ed0ca7fea1ef683ea035d17b. It's been assigned to @sezna because they committed the code.