# Fixed inlining determination test \(\#972\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 131c133bb74eab2012158c8ecfaa78944db197c7

Requested commit: 131c133bb74eab2012158c8ecfaa78944db197c7

Commit: 131c133bb74eab2012158c8ecfaa78944db197c7

Tree: d02e9e5c9725ca18204d4e9658ad8069287e3c06

Author: Alexandros Naskos

Committer: Andrew Kelley

## Message

```
Fixed inlining determination test (#972)

When deciding wether we should inline a scope, look up the parents until we get to a function definition scope

```

## Parents

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

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