From b3c80418a8f8c235e798feb7ee585bc1dcacdf0f Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 30 Oct 2019 00:40:17 -0400 Subject: fix regression in behavior tests --- src/analyze.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/analyze.cpp') diff --git a/src/analyze.cpp b/src/analyze.cpp index 141bd8d191..e38470f7f9 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -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}); } -- cgit v1.2.3