# Revert "stage2: add compile log statement \(\#7191\)" · gitcafe/zig

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

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

Visibility: public

Requested revision: f75d4cbe56f9f8212581f00700600a57ce545ba1

Requested commit: f75d4cbe56f9f8212581f00700600a57ce545ba1

Commit: f75d4cbe56f9f8212581f00700600a57ce545ba1

Tree: 9061ca185cd38119116333c4fee9f5d26a0619dc

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Revert "stage2: add compile log statement (#7191)"

The addition of `addDeclErr` introduced a memory leak at every call
site, and I also would like to push back on having more than 1
compilation error per `Decl`.

This reverts commit 1634d45f1d53c8d7bfefa56ab4d2fa4cc8218b6d.

```

## Parents

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

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