DanielXMoore / Civet

A TypeScript superset that favors more types and less typing
https://civet.dev
MIT License
1.36k stars 29 forks source link

Detect Error nodes in inlineMap mode #1207

Closed edemaine closed 5 months ago

edemaine commented 5 months ago

Fixes #1206

I verified that the second added test fails without this change. Not totally sure this is the right place for the inlineMap test, but yield in fat arrow is something we didn't already check for that generates an Error node, so it works.