mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
store `exposed_ident_ids in the scope itself
This commit is contained in:
parent
5a613db7b6
commit
fb9d60226d
9 changed files with 54 additions and 151 deletions
|
@ -685,7 +685,8 @@ pub fn constrain_expr(
|
|||
.clone()
|
||||
.intersection(new_pattern_headers.clone())
|
||||
.is_empty(),
|
||||
"Two patterns introduce the same symbols - that's a bug!"
|
||||
"Two patterns introduce the same symbols - that's a bug!\n{:?}",
|
||||
pattern_headers.clone().intersection(new_pattern_headers)
|
||||
);
|
||||
pattern_headers.extend(new_pattern_headers);
|
||||
pattern_cons.push(pattern_con);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue