# stage2: fix wrong value for Decl owns_tv · gitcafe/zig

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

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

Visibility: public

Requested revision: 2b40815a220bbbd657bfa441e304090f11f1eb4c

Requested commit: 2b40815a220bbbd657bfa441e304090f11f1eb4c

Commit: 2b40815a220bbbd657bfa441e304090f11f1eb4c

Tree: 01ba879103b9f49d58ea90a3244933c58dc34be2

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: fix wrong value for Decl owns_tv

In the case of a comptime function call of a function that returns a
type, resulting in a compiler crash on deinit().

```

## Parents

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

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