mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 08:45:52 +00:00
fix: typeOf "match failed" with a call after @TypeOf()
This commit is contained in:
parent
270e2c18bf
commit
1792842808
@ -2376,7 +2376,7 @@ fn tryResolveRefPath(
|
||||
path[i + 1] = (try self.cteTodo("match failure")).expr;
|
||||
continue :outer;
|
||||
},
|
||||
.comptimeExpr, .call => {
|
||||
.comptimeExpr, .call, .typeOf => {
|
||||
// Since we hit a cte, we leave the remaining strings unresolved
|
||||
// and completely give up on resolving this decl path.
|
||||
//decl_path.hasCte = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user