mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +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
|
@ -1445,6 +1445,10 @@ impl<'a, T: Copy> ExtractSpaces<'a> for NodeSpaces<'a, T> {
|
|||
after: self.after,
|
||||
}
|
||||
}
|
||||
|
||||
fn without_spaces(&self) -> T {
|
||||
self.item
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, V: Formattable> Formattable for NodeSpaces<'a, V> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue