Open
Description
Reparsed JS nodes shouldn't normally be pretty-printed, but if they are, they shouldn't crash.
Specifically, @weswigham has seen crashes in GetTypeNodePrecedence
with JSDocTypeExpression
and JSDocTypeLiteral
. JSDocTypeExpression
can show up on a JSTypeAlias
.
I don't know if Strada has tests that cover this, but Corsa definitely doesn't have them yet.