mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Remove unnecessary var introduction
This commit is contained in:
parent
2cc47f184f
commit
12234c36ad
1 changed files with 0 additions and 5 deletions
|
@ -1183,11 +1183,6 @@ fn constrain_when_branch_help(
|
|||
delayed_is_open_constraints: Vec::new(),
|
||||
};
|
||||
|
||||
// TODO: can i remove this?
|
||||
// state
|
||||
// .vars
|
||||
// .push(when_branch.redundant.variable_for_introduction());
|
||||
|
||||
// TODO investigate for error messages, is it better to unify all branches with a variable,
|
||||
// then unify that variable with the expectation?
|
||||
for (i, loc_pattern) in when_branch.patterns.iter().enumerate() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue