# stage2: more resilient error handling · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/91eb1af9177d774158d888484023e3bf0be65412)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 91eb1af9177d774158d888484023e3bf0be65412

Requested commit: 91eb1af9177d774158d888484023e3bf0be65412

Commit: 91eb1af9177d774158d888484023e3bf0be65412

Tree: 8aafa2cc145b16cfaf854980e58bbca0aff8f29f

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: more resilient error handling

 * If more than one error is reported for the same Decl, the first error
   message is kept and the second one discarded.
 * Prevent functions from being sent to codegen backends if there were
   any errors resolving any of their parameter types or return type.

```

## Parents

- [3432e66faf8940bbbfc7ee24d0e17e6127e66bf6](https://git.cafe/gitcafe/zig/commit/3432e66faf8940bbbfc7ee24d0e17e6127e66bf6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/91eb1af9177d774158d888484023e3bf0be65412?format=markdown)
