# Sema: improve "called from here" notes · gitcafe/zig

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

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

Visibility: public

Requested revision: 429672705090f073adedb885057a4603eaf66c95

Requested commit: 429672705090f073adedb885057a4603eaf66c95

Commit: 429672705090f073adedb885057a4603eaf66c95

Tree: 0776a0d58f9550258bbd3ebcc3232f61663b7764

Author: mlugg

Committer: mlugg

## Message

```
Sema: improve "called from here" notes

To an average user, it may be unclear why these notes are not just in
the reference trace; that's because they are more important, because
they are inline calls through which comptime values may propagate. There
are now 3 possible wordings for this note:

* "called at comptime here"
* "called inline here"
* "generic function instantiated here"

An alternative could be these wordings:

* "while analyzing comptime call here"
* "while analyzing inline call here"
* "while analyzing generic instantiation here"

I'm not sure which is better -- but this commit is certainly better than
status quo.

```

## Parents

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

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