Fix failing compilation in Expr2

This commit is contained in:
ayazhafiz 2021-11-21 21:37:34 -05:00
parent 3b7596dd34
commit fe85af8d03
5 changed files with 48 additions and 13 deletions

View file

@ -386,7 +386,18 @@ fn can_annotation_help(
}
},
Record { fields, ext, .. } => {
Record { fields, ext } => {
let field_types = can_assigned_fields(
env,
&fields.items,
region,
scope,
var_store,
introduced_variables,
local_aliases,
references,
);
let ext_type = match ext {
Some(loc_ann) => can_annotation_help(
env,