mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Parse module params loc and rename to pattern
This commit is contained in:
parent
c6e42ecf0c
commit
7ac72159e9
10 changed files with 20 additions and 14 deletions
|
@ -302,7 +302,7 @@ pub struct ModuleHeader<'a> {
|
|||
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub struct ModuleParams<'a> {
|
||||
pub params: Collection<'a, Loc<Pattern<'a>>>,
|
||||
pub pattern: Loc<Collection<'a, Loc<Pattern<'a>>>>,
|
||||
pub before_arrow: &'a [CommentOrNewline<'a>],
|
||||
pub after_arrow: &'a [CommentOrNewline<'a>],
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue