# Sema: rewrite \`analyzeMinMax\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 07a5efd072eb6af331e9e24e48ed62ef9bafc5ab

Requested commit: 07a5efd072eb6af331e9e24e48ed62ef9bafc5ab

Commit: 07a5efd072eb6af331e9e24e48ed62ef9bafc5ab

Tree: c234b4ccebad7e39398e45d08452dac2e8aa088f

Author: mlugg

Committer: Matthew Lugg

## Message

```
Sema: rewrite `analyzeMinMax`

I only wanted to fix a bug originally, but this logic was kind of a
rat's nest. But now... okay, it still *is*, but it's now a slightly more
navigable nest, with cute little signs occasionally, painted by adorable
rats desparately trying to follow the specification.

Hopefully #3806 comes along at some point to simplify this logic a
little.

Resolves: #23139

```

## Parents

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

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