diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-10-18 15:45:11 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-10-18 15:45:11 -0700 |
| commit | bea447a6378fbc65eb79f31c5f1770c75850074c (patch) | |
| tree | 95f989734bde6ec6232700933f308f3bf8ffc8e2 /src/codegen/llvm | |
| parent | 75c8c4442d1dd6fe43fbef1bfeaded360a98fe51 (diff) | |
| download | zig-bea447a6378fbc65eb79f31c5f1770c75850074c.tar.gz zig-bea447a6378fbc65eb79f31c5f1770c75850074c.zip | |
stage2: fix coercion of error set to error union
When returning an error set or an error union from a function which has
an inferred error set, it populates the error names in addition to the
set of functions. This can have false negatives, meaning that after
checking the map of an unresolved error set, one must do full error set
resolution before emitting a compile error.
Diffstat (limited to 'src/codegen/llvm')
0 files changed, 0 insertions, 0 deletions
