Allow parsing a single newline/comment in empty list

This commit is contained in:
Joshua Warner 2021-11-02 21:56:12 -07:00
parent 35df58c18f
commit 6d4f3f4da7
5 changed files with 84 additions and 45 deletions

View file

@ -326,7 +326,8 @@ fn record_pattern_help<'a>(min_indent: u16) -> impl Parser<'a, Pattern<'a>, PRec
min_indent,
PRecord::Open,
PRecord::Space,
PRecord::IndentEnd
PRecord::IndentEnd,
Pattern::SpaceBefore
)
.parse(arena, state)?;