mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-22 19:42:31 +00:00
Add pattern type for module params
This commit is contained in:
parent
90c7745989
commit
702092859e
3 changed files with 3 additions and 2 deletions
|
@ -25,6 +25,7 @@ pub enum PatternType {
|
|||
DefExpr,
|
||||
FunctionArg,
|
||||
WhenBranch,
|
||||
ModuleParams,
|
||||
}
|
||||
|
||||
pub fn closure_param<'a>() -> impl Parser<'a, Loc<Pattern<'a>>, EPattern<'a>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue