aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors
AgeCommit message (Expand)Author
2024-03-14Zcu: rename implicitly-named decls to avoid overriding by explicit declsmlugg
2024-03-14compiler: detect duplicate test names in AstGenmlugg
2024-03-11std.builtin: make atomic order fields lowercaseTristan Ross
2024-03-11std.builtin: make container layout fields lowercaseTristan Ross
2024-03-06cases: correct after #18816mlugg
2024-02-26Check for inactive union field when calling fn at comptimeJohn Schmidt
2024-02-26Merge pull request #18859 from schmee/switch-union-capture-alignAndrew Kelley
2024-02-26Sema: fix compile error for switching on undefined unionJohn Schmidt
2024-02-19Sema: validate that runtime-known inferred alloc does not have comptime-only ...mlugg
2024-02-16cases: account for changed compile errorsmlugg
2024-02-12Sema: add declared here notes in `fail`Veikka Tuominen
2024-02-09Sema: catch runtime stores to comptime variables through callsVeikka Tuominen
2024-02-09Merge pull request #18712 from Vexu/std.optionsAndrew Kelley
2024-02-08Preserve field alignment in union pointer capturesJohn Schmidt
2024-02-06Make `@intFromEnum` an error for empty enumsDavid Rubin
2024-02-03Fix OOB when enum field out of order in different fileDavid Rubin
2024-02-03Add error hint when looping over `ErrorUnion`David Rubin
2024-02-01std.start: remove event loop integrationVeikka Tuominen
2024-01-29Sema: fix casting runtime value to enum with comptime int tag typePavel Verigo
2024-01-26Sema: tuples have no names to be used for reporting errors in finishStructInitKrzysztof Wolicki
2024-01-22Sema: implement comptime error return tracesVeikka Tuominen
2024-01-20AstGen: detect duplicate field namesDavid Rubin
2024-01-19do not enforce function parameters to be marked comptime if only called at co...Meghan Denny
2024-01-18add type check to `zirSwitchBlockErrUnion`David Rubin
2024-01-16sema: fix safe integer arithmetic operations on undefined valuesTechatrix
2024-01-16AstGen: use correct token_src for switch, if and while exprstravisstaloch
2024-01-16AstGen: properly handle ill-formed switch on errorTechatrix
2024-01-16AstGen: add error message for capture error by ref in switch on errorTechatrix
2024-01-15update test case for new const/var compile errorAndrew Kelley
2024-01-14sema: allow slicing *T with comptime known [0..1]dweiller
2024-01-13Revert "Merge pull request #18410 from dweiller/by-length-slice-bug"Andrew Kelley
2024-01-12sema: forbid asm output to const localsMeghan Denny
2024-01-09AstGen: add error for redundant comptime var in comptime scope (#18242)Bogdan Romanyuk
2024-01-09test: add tests for switch_block_err_uniondweiller
2024-01-06categorize `behavior/bugs/<issueno>.zig` testsVeikka Tuominen
2024-01-04sema: Prevent reifying non-empty union with empty tag typeCarl Ã…stholm
2023-12-31sema: add compile error for OOB by-length slice of arraydweiller
2023-12-11Revert "Sema: forbid @breakpoint from being called at comptime"Andrew Kelley
2023-12-11Sema: forbid @breakpoint from being called at comptimeBogdan Romanyuk
2023-12-08AstGen: add error for using inline loops in comptime only scopesVeikka Tuominen
2023-11-30Sema: improve error location for array cat/mulVeikka Tuominen
2023-11-25Compiler: move checking function-scope-only builtins to AstGenBogdan Romanyuk
2023-11-23Sema: disallow call to undefined functionBogdan Romanyuk
2023-11-22std: remove meta.traitAndrew Kelley
2023-11-21Merge pull request #18057 from Vexu/fixesAndrew Kelley
2023-11-21Sema: fix bad error location on field init with field accessVeikka Tuominen
2023-11-21value: update isDeclRef for anonymous declarationsBogdan Romanyuk
2023-11-19cases: add compile error test for never-mutated local variablemlugg
2023-11-19test: update cases to silence 'var is never mutated' errorsmlugg
2023-11-19test: check compile errors when compilation has no errorsdweiller