Parse module params loc and rename to pattern

This commit is contained in:
Agus Zubiaga 2024-06-27 16:14:56 -03:00
parent c6e42ecf0c
commit 7ac72159e9
No known key found for this signature in database
10 changed files with 20 additions and 14 deletions

View file

@ -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>],
}