Add pattern type for module params

This commit is contained in:
Agus Zubiaga 2024-07-01 18:06:41 -03:00
parent 90c7745989
commit 702092859e
No known key found for this signature in database
3 changed files with 3 additions and 2 deletions

View file

@ -401,8 +401,7 @@ pub fn canonicalize_module_defs<'a>(
var_store,
&mut scope,
&mut output,
// todo(agus): custom type for param
PatternType::FunctionArg,
PatternType::ModuleParams,
&pattern.value,
pattern.region,
PermitShadows(false),