Check suffixes of all pattern identifiers

This commit is contained in:
Agus Zubiaga 2024-10-23 02:42:56 -03:00
parent a31a35100b
commit e75b1cf7a0
No known key found for this signature in database
7 changed files with 210 additions and 60 deletions

View file

@ -276,6 +276,10 @@ pub fn constrain_pattern(
.push(constraints.is_open_type(type_index));
}
state
.constraints
.push(constraints.fx_pattern_suffix(*symbol, type_index, region));
state.headers.insert(
*symbol,
Loc {