# stage2: fix handling compile error in inline fn call · gitcafe/zig

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

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

Visibility: public

Requested revision: 50a530196ca4e91b387f9937475dd8891edb3f4f

Requested commit: 50a530196ca4e91b387f9937475dd8891edb3f4f

Commit: 50a530196ca4e91b387f9937475dd8891edb3f4f

Tree: c90e57e1484a4c6fed1ae7922f761a9bdd6e7970

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: fix handling compile error in inline fn call

 * scopes properly inherit inlining information
 * compile errors of inline function calls are properly attached to the
   caller rather than the callee.
   - added a test case for this
 * --watch still opens a repl if compile errors happen.

```

## Parents

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

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