# Sema: improved source location for @panic operand coercion error · gitcafe/zig

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

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

Visibility: public

Requested revision: 5a957a32811602b7e2035e2046e565b3981d633d

Requested commit: 5a957a32811602b7e2035e2046e565b3981d633d

Commit: 5a957a32811602b7e2035e2046e565b3981d633d

Tree: 72f3cd4c2e5520424cd27970c2f2df449515a166

Author: mlugg

Committer: mlugg

## Message

```
Sema: improved source location for @panic operand coercion error

Similar to the previous commit, errors coercing the panic message to
`[]const u8` now point at the operand to `@panic` rather than the actual
builtin call.

```

## Parents

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

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