fix regression in behavior tests

This commit is contained in:
Andrew Kelley 2019-10-30 00:40:17 -04:00
parent d5e438b36e
commit b3c80418a8
No known key found for this signature in database
GPG Key ID: 7C5F548F728501A9

View File

@ -6132,6 +6132,9 @@ static Error resolve_async_frame(CodeGen *g, ZigType *frame_type) {
param_name = buf_sprintf("@arg%" ZIG_PRI_usize, arg_i);
}
ZigType *param_type = param_info->type;
if ((err = type_resolve(g, param_type, ResolveStatusSizeKnown))) {
return err;
}
fields.append({buf_ptr(param_name), param_type, 0});
}