Resolve through comptime expressions
This commit is contained in:
parent
6d75551f7a
commit
41da6b88ef
@ -644,6 +644,10 @@ pub fn resolveTypeOfNodeInternal(
|
|||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
},
|
},
|
||||||
|
.Comptime => {
|
||||||
|
const ct = node.cast(ast.Node.Comptime).?;
|
||||||
|
return try resolveTypeOfNodeInternal(store, arena, .{ .node = ct.expr, .handle = handle }, bound_type_params);
|
||||||
|
},
|
||||||
.GroupedExpression => {
|
.GroupedExpression => {
|
||||||
const grouped = node.cast(ast.Node.GroupedExpression).?;
|
const grouped = node.cast(ast.Node.GroupedExpression).?;
|
||||||
return try resolveTypeOfNodeInternal(store, arena, .{ .node = grouped.expr, .handle = handle }, bound_type_params);
|
return try resolveTypeOfNodeInternal(store, arena, .{ .node = grouped.expr, .handle = handle }, bound_type_params);
|
||||||
|
Loading…
Reference in New Issue
Block a user