diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2025-05-10 18:22:43 +0100 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2025-05-16 13:28:15 +0100 |
| commit | 429672705090f073adedb885057a4603eaf66c95 (patch) | |
| tree | 0776a0d58f9550258bbd3ebcc3232f61663b7764 /lib/std/Build/Cache.zig | |
| parent | d717c96877355090ea3a8e3662a2584eea02445c (diff) | |
| download | zig-429672705090f073adedb885057a4603eaf66c95.tar.gz zig-429672705090f073adedb885057a4603eaf66c95.zip | |
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.
Diffstat (limited to 'lib/std/Build/Cache.zig')
0 files changed, 0 insertions, 0 deletions
