# frontend: fix wrong result of Value.getFunction · gitcafe/zig

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

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

Visibility: public

Requested revision: 076b54c8e7e8472556558543c6fb3eaa8967de78

Requested commit: 076b54c8e7e8472556558543c6fb3eaa8967de78

Commit: 076b54c8e7e8472556558543c6fb3eaa8967de78

Tree: ba4beccf8f871b30fbfcf7268cfae0ad8c12b2a0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
frontend: fix wrong result of Value.getFunction

Fixes regression introduced in
db33ee45b7261c9ec62a1087cfc9377bc4e7aa8f.

Found from compiling bun. Unfortunately we do not have a behavior test
reduction for this bug.

```

## Parents

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

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