diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-04-05 23:12:11 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-04-05 23:16:35 -0700 |
| commit | dd9782a8bc6f4af458a04cea2619f55e749c39ee (patch) | |
| tree | 6831c36a68b0e52428c15c85ce6815b09636feed /src/ThreadPool.zig | |
| parent | ac873367b9d68e1d7b4cf4e5efbe179960dc7557 (diff) | |
| download | zig-dd9782a8bc6f4af458a04cea2619f55e749c39ee.tar.gz zig-dd9782a8bc6f4af458a04cea2619f55e749c39ee.zip | |
Sema: fix handling compile errors during circular dependency error
Previously, Zig would try to generate a function whose type contained
structs or unions which had not been fully resolved due to circular
dependency errors. With this commit, `resolveTypeFully` will be sure to
return `error.AnalysisFail` even in this scenario, leading to proper
display of compilation errors instead of a crash.
Diffstat (limited to 'src/ThreadPool.zig')
0 files changed, 0 insertions, 0 deletions
