aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors
AgeCommit message (Expand)Author
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-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
2023-11-18Add struct declaration location to empty root struct field member errorCurtis Tate Wilkinson
2023-11-16Move duplicate field detection for struct init expressions into AstGenDavid
2023-11-16Sema: Add error for non-power of 2 field alignment when reifying Unions, Stru...Krzysztof Wolicki
2023-11-12Revert "Sema: fix comparison with undefined"Andrew Kelley
2023-11-12Sema: fix comparison with undefinedBogdan Romanyuk
2023-11-10disallow calling @trap at comptimeBogdan Romanyuk
2023-11-10Sema: do not allow comptime-only pointer fields in packed structsmlugg
2023-11-08Sema: fix source location for untyped array init with result typemlugg
2023-11-07sema: analyze field init bodies in a second passkcbanner
2023-11-06Sema: emit error when pointer to extern function is calledBogdan Romanyuk
2023-11-05Sema: fix error notes with wrong extern typeBogdan Romanyuk
2023-10-31Add compile error test case for union layout depending on pointer alignmentkcbanner
2023-10-23Sema: make `@src().line` comptime-knownAndrew Kelley
2023-10-18Merge pull request #17524 from Vexu/aro-translate-cAndrew Kelley
2023-10-17Sema: disallow `@intFromPtr` for comptime-only typesBogdan Romanyuk
2023-10-17tests: translate-c and run-translated-c to the test harnessVeikka Tuominen