aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Sema.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Sema.zig b/src/Sema.zig
index b946e29057..4c43746e57 100644
--- a/src/Sema.zig
+++ b/src/Sema.zig
@@ -5736,6 +5736,7 @@ fn instantiateGenericCall(
const arg_src = call_src; // TODO better source location
const arg_ty = sema.typeOf(uncasted_args[i]);
const arg_val = try sema.resolveValue(block, arg_src, uncasted_args[i]);
+ try sema.resolveLazyValue(block, arg_src, arg_val);
arg_val.hash(arg_ty, &hasher, mod);
if (is_anytype) {
arg_ty.hashWithHasher(&hasher, mod);