diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-07-13 13:24:44 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-07-18 19:02:06 -0700 |
| commit | 684aee32209932166713462cc341fa469aad0728 (patch) | |
| tree | c7d90cbd2143bf022f8dc324fadf12a04364f73e /test/cases/compile_errors/src_outside_function.zig | |
| parent | 927f6ec8ca2234e8c4f27174359d5053da63a77d (diff) | |
| download | zig-684aee32209932166713462cc341fa469aad0728.tar.gz zig-684aee32209932166713462cc341fa469aad0728.zip | |
frontend: fixes for function regressions in this branch
* Introduce InternPool.Tag.func_coerced to handle the case of a
function body coerced to a new type. `InternPool.getCoerced` is now
implemented for function bodies in this branch.
* implement resolution of ad-hoc inferred error sets in
`Sema.analyzeCall`.
* fix generic_owner being set wrong for child Sema bodies of param
expressions.
* fix `Sema.resolveInferredErrorSetTy` when passed `anyerror`.
Diffstat (limited to 'test/cases/compile_errors/src_outside_function.zig')
0 files changed, 0 insertions, 0 deletions
