diff options
| author | mlugg <mlugg@mlugg.co.uk> | 2024-12-06 06:22:32 +0000 |
|---|---|---|
| committer | mlugg <mlugg@mlugg.co.uk> | 2024-12-06 06:22:32 +0000 |
| commit | 9f086f84f53de4eb23d96fe611c071f27405a660 (patch) | |
| tree | aa40346ae5fdadd6121fef59aa203c88cd744956 /src/Compilation | |
| parent | 8f849684f46ad0835bd9591f420e49e212880cb2 (diff) | |
| download | zig-9f086f84f53de4eb23d96fe611c071f27405a660.tar.gz zig-9f086f84f53de4eb23d96fe611c071f27405a660.zip | |
Zcu: allow test declarations to be failed
The introduction of the `extended(astgen_error())` instruction allows a
`test` declaration to be unresolved, i.e. the declaration doesn't even
contain a `func`. I could modify AstGen to not do this, but it makes
more sense to just handle this case when collecting test functions.
Note that tests under incremental compilation are currently broken if
you ever remove all references to a test; this is tracked as a subtask
of #21165.
Diffstat (limited to 'src/Compilation')
0 files changed, 0 insertions, 0 deletions
