| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-08-30 | Remove @OpaqueType | Tadeo Kondrak | |
| 2020-08-24 | fix error note using invalid source node | Vexu | |
| Closes #6153 | |||
| 2020-08-24 | add error checks to `@Type` | Vexu | |
| 2020-08-21 | Update compile-errors test for @Type(.Enum) changes | Tadeo Kondrak | |
| 2020-08-21 | Implement @Type for Enum | Tadeo Kondrak | |
| 2020-08-20 | Merge pull request #6103 from Vexu/extern | Andrew Kelley | |
| Disallow extern variables with initializers. | |||
| 2020-08-20 | disallow extern variables with initializers | Vexu | |
| 2020-08-19 | Update compile-errors test for @Type(.Struct) | Tadeo Kondrak | |
| 2020-08-18 | Merge pull request #5495 from xackus/fix_5314 | Veikka Tuominen | |
| stage1: fix non-exhaustive enums with one field | |||
| 2020-08-18 | stage1: update compile error tests | Andrew Kelley | |
| follow-up to 56c81c713f749f858089e5bcdf9e6fac588bcf86 | |||
| 2020-08-17 | Handle singular param count word in error messages (#6073) | Ashish Shekar | |
| 2020-08-17 | fix cast from invalid non-exhaustive enum to union | Vexu | |
| 2020-08-17 | disallow '_' prong when switching on non-exhaustive tagged union | Vexu | |
| A tagged union cannot legally be initiated to an invalid enumeration | |||
| 2020-08-15 | stage1: remove buggy "unable to inline function" compile error | Andrew Kelley | |
| We still want this compile error but I'm giving up on implementing it correctly in stage1. It's been buggy and has false positives sometimes. I left the test cases there, but commented out, so that when we go through the stage1 compile error cases and get coverage for them in stage2 we can reactivate the test cases. closes #2154 | |||
| 2020-08-13 | add error for unused/duplicate block labels | Vexu | |
| 2020-08-02 | add compile error for alignCasting zero sized types | Vexu | |
| 2020-07-28 | add helpful error note for when function cannot return an error | Vexu | |
| This has caused frequent confusion since it looks like you are handling errors correctly with a try but you forgot to change your return type. | |||
| 2020-07-26 | Merge pull request #5693 from antlilja/switch-unreachable-else | Andrew Kelley | |
| Add error message for unreachable else prong in switch | |||
| 2020-07-24 | Revert "Support taking extern pointers at comptime" | Andrew Kelley | |
| This reverts commit d3ebd428650748e60db70dd2171cc044855814b1. This caused a build failure on multiple targets. | |||
| 2020-07-24 | Support taking extern pointers at comptime | yvt | |
| This commit makes it possible to obtain pointers to `extern` variables at comptime. - `ir_get_var_ptr` employs several checks to determine if the given variable is eligible for obtaining its pointer at comptime. This commit alters these checks to consider `extern` variables, which have runtime values, as eligible. - After this change, it's now possible for `render_const_val` to be called for `extern` variables. This commit modifies `render_const_val` to suppress the value generation for `extern` variables. - `do_code_gen` now creates `ZigValue::llvm_global` of `extern` variables before iterating through module-level variables so that other module-level variables can refer to them. This solution is incomplete since there are several cases still failing: - `global_var.array[n..m]` - `&global_var.array[i]` - `&global_var.inner_struct.value` - `&global_array[i]` Closes #5349 | |||
| 2020-07-18 | fix floatCast type check regression | Vexu | |
| Closes #5900 | |||
| 2020-07-13 | check for invalid sentinel when creating pointer with `@Type` | Vexu | |
| 2020-07-12 | update compile error tests and some doc comments | Vexu | |
| 2020-07-11 | use correct cast function when doing `@floatCast` at comptime | Vexu | |
| 2020-07-08 | fix missing check on extern variables with no type | Vexu | |
| 2020-07-01 | Add new error message for unreachable else prongs | antlilja | |
| * Adds error message for types: enum, int and bool * Adds compile error tests | |||
| 2020-06-28 | Merge pull request #5696 from alexnask/async_call_tuple | Andrew Kelley | |
| @asyncCall now takes arguments as a tuple instead of varargs | |||
| 2020-06-24 | Fix issue #5618 (#5685) | arbrk1 | |
| * fix issue #5618 * A test for the issue #5618 added. Also inserted a comma in the neighboring test to make it more zigfmt-friendly. | |||
| 2020-06-24 | Small fixes, fixed tests, added test for argument tuple type | Alexandros Naskos | |
| 2020-06-23 | Add duplicate checking for switch on types | antlilja | |
| * Add compile error tests | |||
| 2020-06-21 | Make unary minus for unsigned types a compile error (#5654) | Robin Voetter | |
| * Make unary minus for unsigned types a compile error * Add unreachable when generating unsigned negate | |||
| 2020-06-18 | add tests for `@src` | Vexu | |
| 2020-06-09 | Expose full llvm intrinsic | Jakub Konka | |
| 2020-06-09 | Add basic tests for the new builtins | Jakub Konka | |
| 2020-06-08 | stage1: fix crash on slice byte reinterpretation | xackus | |
| 2020-05-29 | Support equality comparison for optional to non-optional (?T ==/!= T) | foobles | |
| extracted function ir_try_evaluate_bin_op_const extracted type_is_self_comparable function renamed ir_try_evaluate_bin_op_const to ir_try_evaluate_bin_op_cmp_const implemented analysis of ?T == T added ir_set_cursor_at_end_and_append_basic_block_gen use build_br_gen and ir_set_cursor_at_end_and_append_block_gen added ir_append_basic_block_gen removed include of all_types in ir.cpp extracted compile-time and runtime evaluation of cmp_optional_non_optional to separate functions closes #5390 closes #1332 | |||
| 2020-05-26 | Add matching compile error test | Jakub Konka | |
| 2020-05-17 | Merge pull request #5057 from xackus/opaque-param | Andrew Kelley | |
| stage1: fix assert fail on opaque fn ptr param | |||
| 2020-05-11 | stage1: detect underflow in bigint_fits_in_bits | xackus | |
| 2020-05-08 | Merge pull request #4932 from Qix-/fix-private-access | Vexu | |
| Fix private access | |||
| 2020-05-08 | add failing test for #4909 | Josh Junon | |
| 2020-05-07 | stage1: handle all cases of invalid struct field default value | xackus | |
| 2020-05-05 | update docs/tests for async/extern fn removal | Tadeo Kondrak | |
| 2020-05-05 | Merge pull request #5272 from tadeokondrak/noasync-to-nosuspend | Andrew Kelley | |
| Noasync to nosuspend | |||
| 2020-05-05 | update tests for nosuspend | Tadeo Kondrak | |
| 2020-05-04 | fix missing compile error on call assigned to const | Vexu | |
| 2020-05-04 | stage1: fix assert fail on opaque fn ptr param | xackus | |
| 2020-04-28 | Merge pull request #5196 from tadeokondrak/@vector-to-@type-vector | Andrew Kelley | |
| `@Vector` -> `@Type(.Vector)` | |||
| 2020-04-28 | @Vector -> std.meta.Vector | Tadeo Kondrak | |
| 2020-04-28 | @OpaqueType -> @Type(.Opaque) | Tadeo Kondrak | |
