# Fix wrong error code being returned in enum analisys · gitcafe/zig

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

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

Visibility: public

Requested revision: 7a1cde7206263c8bb3265c225ed4213d1b7bdb58

Requested commit: 7a1cde7206263c8bb3265c225ed4213d1b7bdb58

Commit: 7a1cde7206263c8bb3265c225ed4213d1b7bdb58

Tree: 4336078e252ee1225f91d0fa28231a09a976c7c4

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
Fix wrong error code being returned in enum analisys

Fixes the assertion failure seen in #4233

```

## Parents

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

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