Commit graph

12 commits

Author SHA1 Message Date
Oli Scherer 9062697917 Always evaluate free constants and statics, even if previous errors occurred 2024-02-19 22:11:13 +00:00
Oli Scherer 73b38c661d Do not allocate a second "background" alloc id for the main allocation of a static.
Instead we re-use the static's alloc id within the interpreter for its initializer to refer to the `Allocation` that only exists within the interpreter.
2024-02-15 10:25:18 +00:00
Oli Scherer e2386270df Return ConstAllocation from eval_static_initializer query directly 2024-02-15 10:25:18 +00:00
Oli Scherer 95004e5ae2 Add new query just for static initializers 2024-02-15 10:25:18 +00:00
Oli Scherer 867831a170 Always use RevealAll for const eval queries 2024-01-19 11:32:34 +00:00
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00
nxya a54a66830d moved note as unspanned note, moved note to the bottom of the msg 2023-07-18 21:53:34 -04:00
nxya e6e8892051 added links as a note 2023-07-18 09:27:35 -04:00
nxya f92a9f6808 add links to query documentation for E0391 2023-07-18 09:27:26 -04:00
nxya bef91ee687 added links as a note 2023-07-18 09:20:25 -04:00
nxya c429a72db9 add links to query documentation for E0391 2023-07-18 09:20:25 -04:00
Albert Larsan cf2dff2b1e
Move /src/test to /tests 2023-01-11 09:32:08 +00:00
Renamed from src/test/ui/consts/recursive-zst-static.unleash.stderr (Browse further)