mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Mark patterns in lambda argument position as having a presence constraint
Closes #2299
This commit is contained in:
parent
aaa041cee5
commit
fda6c70835
2 changed files with 18 additions and 5 deletions
|
@ -77,7 +77,7 @@ fn constrain_untyped_args(
|
|||
loc_pattern.region,
|
||||
pattern_expected,
|
||||
&mut pattern_state,
|
||||
false,
|
||||
true,
|
||||
);
|
||||
|
||||
vars.push(*pattern_var);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue