# self-hosted: compile errors for return in wrong place · gitcafe/zig

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

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

Visibility: public

Requested revision: bd1c55d2c2c9b68b5b6de175219cf95c815bf275

Requested commit: bd1c55d2c2c9b68b5b6de175219cf95c815bf275

Commit: bd1c55d2c2c9b68b5b6de175219cf95c815bf275

Tree: 2f0e49f22faca592450f5a9e3c9451bb83df41c6

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
self-hosted: compile errors for return in wrong place

 * outside fn definition
 * inside defer expression

```

## Parents

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

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