aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors
AgeCommit message (Collapse)Author
2022-07-23Sema: handle store to comptime field when `ResultLoc == .none`Veikka Tuominen
2022-07-23Sema: return `.comptime_field_ptr`s for tuplesVeikka Tuominen
2022-07-23Sema: `@alignCast` safetyVeikka Tuominen
2022-07-23Sema: bad union field access safetyVeikka Tuominen
2022-07-22Sema: add error for dereferencing invalid payload ptr at comptimeVeikka Tuominen
2022-07-22Sema: validate empty array initVeikka Tuominen
2022-07-21Sema: fix fn pointer align disagrees with fn align errorAndrew Kelley
Check the specified function alignment rather than the effective function alignment.
2022-07-21Sema: improve compile error for bad function alignmentAndrew Kelley
* Integrate more declaratively with src/target.zig * Only trigger the check when a function body is found, do not trigger for function types.
2022-07-21build.zig: 32 MiB stack sizeAndrew Kelley
This gives more headroom for comptime recursion, especially for debug builds of Zig.
2022-07-21constrain target/backend of new test casesAndrew Kelley
avoids testing stuff that doesn't work yet.
2022-07-21Sema: validate extern struct field types earlierVeikka Tuominen
`validateExternType` does not require the type to be resolved so we can check it earlier. Only doing it in `resolveTypeFully` lead to worse or missing compile errors.
2022-07-21Sema: better source location for function call argsVeikka Tuominen
2022-07-21Sema: better function parameter source locationVeikka Tuominen
2022-07-21Sema: better source location for incompatible capture groupVeikka Tuominen
2022-07-21AstGen: add error for fields in opaque typesVeikka Tuominen
2022-07-21Sema: more union and enum tag type validationVeikka Tuominen
2022-07-21Sema: validate function parameter types and return typeVeikka Tuominen
2022-07-21Sema: validate function pointer alignmentVeikka Tuominen
2022-07-21Sema: explain why comptime is neededVeikka Tuominen
2022-07-21fix errors in tests not tested locally or on CIVeikka Tuominen
2022-07-21stage2: better pointer source locationVeikka Tuominen
2022-07-21Sema: disallow 'align' on functions on wasmVeikka Tuominen
2022-07-21Sema: fix non-exhaustive union switch checksVeikka Tuominen
2022-07-11Merge pull request #12044 from Vexu/stage2-compile-errorsAndrew Kelley
Sema: add detailed error notes to `coerceInMemoryAllowed`
2022-07-11Sema: validate extern typesVeikka Tuominen
2022-07-11Sema: better explanation why opaque types require comptimeVeikka Tuominen
2022-07-11Sema: add notes about function return typeVeikka Tuominen
2022-07-11Sema: add "cannot convert to payload type" error notesVeikka Tuominen
2022-07-11Sema: only add note about int mismatch if not coercibleVeikka Tuominen
`unsigned 64-bit int cannot represent all possible unsigned 63-bit values` is nonsensical.
2022-07-10Sema: prefer original error message in `coerce`Veikka Tuominen
2022-07-10Sema: add detailed error notes to `coerceInMemoryAllowed`Veikka Tuominen
2022-07-08stage2: Support `@offsetOf` for tuples and anon structsCody Tapscott
2022-07-07Sema: improve array source locationVeikka Tuominen
2022-07-07Sema: improve slice source locationsVeikka Tuominen
2022-07-07stage2: make line field of `@src` runtime knownVeikka Tuominen
2022-07-07Sema: misc error message fixesVeikka Tuominen
2022-07-07Sema: more runtime indexing comptime value checksVeikka Tuominen
2022-07-07Sema: validate pointer typesVeikka Tuominen
2022-07-07Sema: panic at comptime + misc error message improvementsVeikka Tuominen
2022-07-05fix expected error messages in test casesAndrew Kelley
2022-07-01AstGen: use elem_{ptr,val}_node for array access syntaxVeikka Tuominen
2022-07-01Sema: add more validation to zirFieldParentPtrVeikka Tuominen
2022-07-01Sema: validate `@intToEnum` int operand typeVeikka Tuominen
2022-07-01Sema: validate deref operator type and valueVeikka Tuominen
2022-07-01Sema: prefer func.onwer_decl for compilelog srcVeikka Tuominen
2022-07-01Sema: validate callconvVeikka Tuominen
2022-07-01Sema: improve bitcast to enum errorVeikka Tuominen
2022-06-30adjust tests that didn't pass CIVeikka Tuominen
2022-06-30tests: move compile errors not planned for stage2Veikka Tuominen
2022-06-30Sema: add source location to coerce result ptr, fix negation errorVeikka Tuominen