mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Fix crash with doubly-nested parens in patterns
This commit is contained in:
parent
941c6c4fe3
commit
8f0566a55f
7 changed files with 82 additions and 1 deletions
|
@ -150,7 +150,7 @@ fn loc_tag_pattern_arg<'a>(
|
|||
|
||||
if stop_on_has_kw
|
||||
&& matches!(
|
||||
value.extract_spaces().item,
|
||||
value.without_spaces(),
|
||||
Pattern::Identifier {
|
||||
ident: crate::keyword::IMPLEMENTS,
|
||||
..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue