Fix parsing crash with dollar escapes

This commit is contained in:
Joshua Warner 2024-12-02 17:39:01 -08:00
parent 89a64fed74
commit e47d7924d3
No known key found for this signature in database
GPG key ID: 89AD497003F93FDD
4 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1 @@
Expr(Str(EndlessMultiLine(@3), @0), @0)

View file

@ -246,6 +246,7 @@ mod test_snapshots {
fail/tag_union_open.expr,
fail/tag_union_second_lowercase_tag_name.expr,
fail/trailing_operator.expr,
fail/triple_quote_newline_after_dollar.expr,
fail/type_annotation_double_colon.expr,
fail/type_apply_stray_dot.expr,
fail/type_argument_arrow_then_nothing.expr,