mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
do not set an underscore on parse and only prefix in formatter
This commit is contained in:
parent
f471d5bbe1
commit
72c85009c6
4 changed files with 9 additions and 7 deletions
|
@ -1093,7 +1093,7 @@ fn underscore_pattern<'a>() -> impl Parser<'a, Pattern<'a>> {
|
|||
|
||||
match output {
|
||||
Some(name) => Ok((Pattern::Underscore(name), final_state)),
|
||||
None => Ok((Pattern::Underscore(&"_"), final_state)),
|
||||
None => Ok((Pattern::Underscore(&""), final_state)),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue