# stage2: add compile error for label redefinition · gitcafe/zig

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

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

Visibility: public

Requested revision: 8deb21c58a4e5f9f8805f6b1a2c9a1774c4a4df5

Requested commit: 8deb21c58a4e5f9f8805f6b1a2c9a1774c4a4df5

Commit: 8deb21c58a4e5f9f8805f6b1a2c9a1774c4a4df5

Tree: fdf5e11589187137b7189e5fda128c725259e659

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: add compile error for label redefinition

Also fix incorrectly destroying notes.

This work is based on Vexu's patch in #7555.

```

## Parents

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

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