aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors
AgeCommit message (Collapse)Author
2022-06-30Sema: validate shift amounts and switch rangesVeikka Tuominen
2022-06-30Sema: improve auto generated union enum nameVeikka Tuominen
2022-06-30Sema: improve vector overflow errorsVeikka Tuominen
2022-06-30Sema: improve `@call` errorsVeikka Tuominen
2022-06-30move passing stage1 compile error tests to stage2Veikka Tuominen
2022-06-14test-cases: fix race with `zig run` on C backend testsAndrew Kelley
Also avoid redundantly doing compile-error checks on multiple targets for test cases where that is not helpful.
2022-06-08stage2: fix type printing of sub-byte pointersAndrew Kelley
2022-06-06Sema: validate equality on store to comptime fieldVeikka Tuominen
2022-06-04Sema: fix function type callconv inferenceVeikka Tuominen
2022-05-27Merge pull request #11733 from Vexu/stage2Andrew Kelley
more misc stage2 fixes
2022-05-27Sema: add error for runtime indexing comptime arrayVeikka Tuominen
2022-05-26apply Vexu's suggestion to use failing_allocator for nowJakub Konka
2022-05-26test: correctly track identical error msgs in handled errors listJakub Konka
Prior to this change, for an example compiler error test case with multiple identical errors messages such as ``` :1:2: error: foo :1:2: error: foo ``` the test harness would never increment the error index thus only marking the very first error message as handled yielding a false positive. Additionally, while here, regress `dereference_anyopaque` test case as not passing on `wasm32-wasi` target.
2022-05-26Sema: `zirArrayType` does need source locationVeikka Tuominen
2022-05-25Sema: add error for dereferencing comptime value at runtimeVeikka Tuominen
2022-05-24move bound function behavior test to compile error testAndrew Kelley
2022-05-04test: move compile errors and incremental tests into common dirJakub Konka