zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit b3c80418a8f8c235e798feb7ee585bc1dcacdf0f (tree)
parent d5e438b36e928e362032257fc77f632a2a83806a
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Wed, 30 Oct 2019 00:40:17 -0400

fix regression in behavior tests

Diffstat:
Msrc/analyze.cpp | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git 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}); }