# remove the "top of the comptime stack" compile error · gitcafe/zig

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

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

Visibility: public

Requested revision: c58b80203443dcbf8b737ebdaa1f17fb20c77711

Requested commit: c58b80203443dcbf8b737ebdaa1f17fb20c77711

Commit: c58b80203443dcbf8b737ebdaa1f17fb20c77711

Tree: b1e9af991951c68e1fa7042b2f75091a61c0c8cf

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
remove the "top of the comptime stack" compile error

It's still best practice to put `@setEvalBranchQuota` at the top of
the comptime stack, but as Jimmi notes in #1949, when a function
can be called at comptime and also can be the top of the comptime stack,
this compile error is fundamentally unsound.

So now it's gone.

closes #1949

```

## Parents

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

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