aboutsummaryrefslogtreecommitdiff
path: root/src/Sema.zig
AgeCommit message (Expand)Author
2022-08-19build: remove the option to omit stage2Andrew Kelley
2022-08-19Sema: avoid false positive error for linking libcAndrew Kelley
2022-08-18std.Target gains ObjectFormat fieldAndrew Kelley
2022-08-18stage2: agree with LLVM that `@alignOf(u128)` is 8Andrew Kelley
2022-08-18Merge pull request #12462 from Vexu/stage2-noreturnVeikka Tuominen
2022-08-17fix typo in compile error messageAndrew Kelley
2022-08-17add testVeikka Tuominen
2022-08-17Sema: error on ambiguous coercion of comptime float and intsMartin Hafskjold Thoresen
2022-08-17Sema: allow empty enums and unionsVeikka Tuominen
2022-08-17Sema: fix generics with struct literal coerced to tagged unionAndrew Kelley
2022-08-17Sema: properly handle noreturn fields in unionsVeikka Tuominen
2022-08-17Sema: make noreturn error union behave correctlyVeikka Tuominen
2022-08-17Sema: make optional noreturn behave correctlyVeikka Tuominen
2022-08-16Sema: ignore current declaration in ambiguous reference errorVeikka Tuominen
2022-08-15Sema: Revert sema.err to null if the Decl already has an errorsin-ack
2022-08-15Merge pull request #12416 from Vexu/stage2-safetyVeikka Tuominen
2022-08-15stage2: add compile errors for comptime `@shrExact` and `@divExact` failuresLeRoyce Pearson
2022-08-12Sema: add error for signed integer divisionmartinhath
2022-08-12stage2: check for zero in `@intToError` safetyVeikka Tuominen
2022-08-12stage2: generate a switch for `@errSetCast` safetyVeikka Tuominen
2022-08-10LLVM: respect linksection for exported variablesAndrew Kelley
2022-08-10Merge pull request #12379 from ifreund/packed-struct-explicit-backing-intAndrew Kelley
2022-08-10stage2: add compile error for invalid null/undefined pointer castInKryption
2022-08-10stage2: add compile error for shlExact overflowLeRoyce Pearson
2022-08-10Sema: fix expansion of repeated valueVeikka Tuominen
2022-08-10stage2: Implement explicit backing integers for packed structsIsaac Freund
2022-08-10stage2: Handle lazy values for the % operatorIsaac Freund
2022-08-09Sema: add declared here note to function call errorsVeikka Tuominen
2022-08-09stage2: generate call arguments in separate blocksVeikka Tuominen
2022-08-09Merge pull request #12383 from ziglang/stage2-stack-tracesAndrew Kelley
2022-08-09stage2: correct node offset of nested declarationsVeikka Tuominen
2022-08-08stage2: error return tracing handles ret betterAndrew Kelley
2022-08-08Sema: avoid error return traces when possibleAndrew Kelley
2022-08-08stage2: pass anon name strategy to reifyVeikka Tuominen
2022-08-06Merge pull request #12337 from Vexu/stage2-safetyAndrew Kelley
2022-08-06stage2: add a helpful error for when async is usedVeikka Tuominen
2022-08-06Sema: do not emit pointer safety checks for pointers to zero-bit typesVeikka Tuominen
2022-08-06Sema: fix infinite recursion in `explainWhyTypeIsComptime`Anton Lilja
2022-08-05Sema: elide safety of modulus and remainder division sometimesAndrew Kelley
2022-08-05stage2: add runtime safety for invalid enum valuesVeikka Tuominen
2022-08-05Sema: add safety check for non-power-of-two shift amountsVeikka Tuominen
2022-08-05Sema: add null check for implicit castsVeikka Tuominen
2022-08-05Sema: account for sentinel in bounds checkVeikka Tuominen
2022-08-05Sema: add null pointer slice safety check when len is comptime knownVeikka Tuominen
2022-08-05Sema: better safety check on switch on corrupt valueVeikka Tuominen
2022-08-05Merge pull request #12300 from antlilja/getParamNameVeikka Tuominen
2022-08-03Sema: add error for dependency loopsVeikka Tuominen
2022-08-03Sema: improve circular dependency errorsVeikka Tuominen
2022-08-03Sema: move last error message from `Inlining` to `Sema`Veikka Tuominen
2022-08-03Sema: add error for closure capture at runtimeVeikka Tuominen