diff --git a/src/analysis.zig b/src/analysis.zig index 39f5661..aed6f45 100644 --- a/src/analysis.zig +++ b/src/analysis.zig @@ -644,6 +644,10 @@ pub fn resolveTypeOfNodeInternal( } return null; }, + .Comptime => { + const ct = node.cast(ast.Node.Comptime).?; + return try resolveTypeOfNodeInternal(store, arena, .{ .node = ct.expr, .handle = handle }, bound_type_params); + }, .GroupedExpression => { const grouped = node.cast(ast.Node.GroupedExpression).?; return try resolveTypeOfNodeInternal(store, arena, .{ .node = grouped.expr, .handle = handle }, bound_type_params);