| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-04-25 | stage1: Use correct alignment for asyncCall frame | LemonBoy | |
| 2021-04-24 | stage1: Require a block after suspend | LemonBoy | |
| Closes #8603 | |||
| 2021-02-16 | Allow async in nosuspend scope | Mathieu Guay-Paquet | |
| Starting an async function call is actually a synchronous operation, since the caller is not awaiting on the callee for a return value. This commit removes the compiler code which generates the error and updates the relevant test case. In the presence of CallModifierAsync, the callee is expected to suspend, so it should not be changed to CallModifierNoSuspend. | |||
| 2021-02-16 | Allow resume in nosuspend scope | Mathieu Guay-Paquet | |
| Resuming a suspended async function call is actually a synchronous operation. This commit removes the compiler code which generates the error and updates the relevant test case. | |||
| 2021-02-10 | Convert inline fn to callconv(.Inline) everywhere | Tadeo Kondrak | |
| 2021-01-30 | Replace @TagType uses, mostly with std.meta.Tag | Tadeo Kondrak | |
| 2021-01-30 | stage1: add error for slice.len incr beyond bounds | Michael Dusan | |
| comptime direct slice.len increment dodges bounds checking but we can emit an error for it, at least in the simple case. - promote original assert to compile-error - add test case closes #7810 | |||
| 2021-01-11 | Merge pull request #7200 from Vexu/arr | Andrew Kelley | |
| Type coercion for pointers to anon literals | |||
| 2020-12-28 | stage1: Prevent crash with some lazy pointer types | LemonBoy | |
| Make sure the child element is not undefined, let's catch this problem early on. Closes #7568 | |||
| 2020-12-25 | stage1: validate pointer attributes when coercing anon literals | Vexu | |
| 2020-12-21 | stage1: add missing error check on inferred struct field ptr | Vexu | |
| 2020-12-08 | stage1: Validate the specified cc for lazy fn types | LemonBoy | |
| Closes #7337 | |||
| 2020-12-03 | stage1: compile error for pointer arithmetic on ptr-to-array | Andrew Kelley | |
| See #2018 | |||
| 2020-11-19 | Merge pull request #6829 from tadeokondrak/error-unsupported-callconv | Veikka Tuominen | |
| stage1: Compile error instead of falling back to C for unsupported cc | |||
| 2020-11-19 | Add builtin.Signedness, use it instead of is_signed | Tadeo Kondrak | |
| 2020-11-19 | add compile-error tests for unsupported calling convention | Vexu | |
| 2020-11-18 | stage1: improve error for missing a number type on a runtime var | pfg | |
| 2020-11-18 | Change error when runtime value passed to comptime arg | frmdstryr | |
| 2020-11-18 | stage1: Reject undefined values when taking union ptr | LemonBoy | |
| The code rightfully assumes the union_val object to be fully initialized. Closes #7019 | |||
| 2020-11-11 | ensure TypeInfo payload is not undefined | Vexu | |
| 2020-11-05 | stage1: Make sure union(enum(T)) is valid | LemonBoy | |
| The T type should be wide enough to fit values in the 0...num field range. Closes #6988 | |||
| 2020-10-30 | remove extra space in .** error message | Travis | |
| 2020-10-30 | Merge pull request #6858 from travv0/no-star-after-dot-star | Veikka Tuominen | |
| don't allow a token starting with an asterisk directly following .* | |||
| 2020-10-29 | stage1: Error out when trying to execute `unreachable` | LemonBoy | |
| Closes #6802 | |||
| 2020-10-29 | updated zig tokenizer to handle .*** and added tests | Travis | |
| 2020-10-22 | Merge pull request #6744 from LemonBoy/intcast-vec | Andrew Kelley | |
| stage1: Implement `@intCast` between vectors | |||
| 2020-10-19 | stage1: Implement `@intCast` between vectors | LemonBoy | |
| Explicit and implicit integer casts on vector types are now supported and follow the same rules as their scalar counterparts. Implicit float casts are accidentally supported, `@floatCast` is still not vector-aware. | |||
| 2020-10-17 | stage1: Fix type-checking of unary neg for vector types | LemonBoy | |
| Validate the vector element type as done for the scalar case. Fixes #6708 | |||
| 2020-10-16 | stage1: Expand undefined struct/arrays when indexed | LemonBoy | |
| Fixes #6693 | |||
| 2020-10-08 | stage1: Disallow arrays in function parameters or return types | Tadeo Kondrak | |
| Closes #6535. | |||
| 2020-10-07 | Merge pull request #6421 from tadeokondrak/opaque-syntax | Andrew Kelley | |
| Add opaque syntax that allows declarations | |||
| 2020-10-07 | stage1: improve error messages for missing `try` statements | pfg | |
| 2020-10-06 | Update compile error test for field access of opaque type | Tadeo Kondrak | |
| 2020-10-06 | stage1: disallow fields in opaque types | Tadeo Kondrak | |
| 2020-10-06 | Update zig files for opaque type syntax | Tadeo Kondrak | |
| 2020-10-03 | Merge pull request #6427 from ↵ | Alexandros Naskos | |
| tadeokondrak/enums-explicit-tag-type-extern-allowed Allow enums with explicit extern-allowed tag types in extern types | |||
| 2020-10-01 | Add test for implicit extern-allowed enum tag type in extern struct | Tadeo Kondrak | |
| 2020-10-01 | Add tests for enums with explicit extern-allowed tag types in extern types | Tadeo Kondrak | |
| 2020-10-01 | stage1: Implement @Type for Fn and BoundFn | Tadeo Kondrak | |
| 2020-10-01 | Update compile error tests for alignment in StructField/UnionField | Tadeo Kondrak | |
| 2020-09-30 | stage1: Fix @Type(.Enum) with invalid tag_type | Tadeo Kondrak | |
| Fixes https://github.com/ziglang/zig/issues/6459 | |||
| 2020-09-29 | Merge remote-tracking branch 'origin/master' into stage2-zig-cc | Andrew Kelley | |
| 2020-09-28 | stage1: Detect OOB access of vector value | LemonBoy | |
| Fixes #5710 | |||
| 2020-09-26 | fix another round of regressions in this branch | Andrew Kelley | |
| * std.log: still print error messages in ReleaseSmall builds. - when start code gets an error code from main, it uses std.log.err to report the error. this resulted in a test failure because ReleaseSmall wasn't printing `error: TheErrorCode` when an error was returned from main. But that seems like it should keep working. So I changed the std.log defaults. I plan to follow this up with a proposal to change the names of and reduce the quantity of the log levels. * warning emitted when using -femit-h when using stage1 backend; fatal log message when using -femit-h with self-hosted backend (because the feature is not yet available) * fix double `test-cli` build steps in zig's build.zig * update docgen to use new CLI * translate-c uses `-x c` and generates a temporary basename with a `.h` extension. Otherwise clang reports an error. * --show-builtin implies -fno-emit-bin * restore the compile error for using an extern "c" function without putting -lc on the build line. we have to know about the libc dependency up front. * Fix ReleaseFast and ReleaseSmall getting swapped when passing the value to the stage1 backend. * correct the zig0 CLI usage text. * update test harness code to the new CLI. | |||
| 2020-09-07 | @Type for union fixes | Tadeo Kondrak | |
| 2020-09-07 | Implement @Type for Union | Tadeo Kondrak | |
| This removes TypeInfo.UnionField.enum_field, which is redundant with TypeInfo.Union.tag_type. | |||
| 2020-09-05 | Merge pull request #6246 from Vexu/field | Veikka Tuominen | |
| Remove deprecated fields on `type` | |||
| 2020-09-04 | update rest of tests | Vexu | |
| 2020-09-04 | langref: atomic ops are allowed on pointers | Vexu | |
| Closes #6217 | |||
| 2020-09-01 | ir: Typecheck the sentinel value in *[N:S1]T to [S2]T casts | LemonBoy | |
| Closes #6054 | |||
