| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-06-30 | Fixed line numbers for tests | Jimmi Holst Christensen | |
| 2018-06-30 | Expanded the list of operators that catch undefined values at comptime | Jimmi Holst Christensen | |
| 2018-06-30 | Revert "ir_resolve_const now checks recursivly for undef values" | Jimmi Holst Christensen | |
| This reverts commit 4c3f27ce1ea17b5236a022971ebace73a02b7c2b. | |||
| 2018-06-29 | Clarify reason implicit cast does not work for large RHS (#1168) | isaachier | |
| * Clarify reason implicit cast does not work for large RHS | |||
| 2018-06-29 | ir_resolve_const now checks recursivly for undef values | Jimmi HC | |
| 2018-06-21 | fix compiler crash for invalid enum | Andrew Kelley | |
| closes #1079 closes #1147 | |||
| 2018-06-19 | remove redundant implicit casting code | Andrew Kelley | |
| and introduce better type mismatch errors closes #1061 | |||
| 2018-06-19 | `@floatToInt` now has safety-checked undefined behavior | Andrew Kelley | |
| when the integer part does not fit in the destination integer type * Also fix incorrect safety triggered for integer casting an `i32` to a `u7`. closes #1138 * adds compiler-rt function: `__floatuntidf` | |||
| 2018-06-19 | remove enum to/from int casting syntax; add `@enumToInt`/`@intToEnum` | Andrew Kelley | |
| see #1061 | |||
| 2018-06-18 | remove error to/from int casting syntax; add `@errorToInt`/`@intToError` | Andrew Kelley | |
| See #1061 | |||
| 2018-06-18 | remove []u8 casting syntax. add `@bytesToSlice` and `@sliceToBytes` | Andrew Kelley | |
| See #1061 | |||
| 2018-06-18 | disallow opaque as a return type of fn type syntax | Andrew Kelley | |
| closes #1115 | |||
| 2018-06-18 | fix compiler crash when using @intToFloat with float literal | Andrew Kelley | |
| closes #1132 | |||
| 2018-06-17 | update test cases | Andrew Kelley | |
| 2018-06-16 | don't automatically take pointer when passing by non-copying value | Andrew Kelley | |
| this commit does not have all tests passing | |||
| 2018-06-16 | allow passing by non-copying value | Andrew Kelley | |
| closes #733 | |||
| 2018-06-13 | disallow implicit casts that break rules for optionals | Andrew Kelley | |
| closes #1102 | |||
| 2018-06-10 | breaking syntax change: orelse keyword instead of ?? (#1096) | Andrew Kelley | |
| use the `zig-fmt-optional-default` branch to have zig fmt automatically do the changes. closes #1023 | |||
| 2018-06-09 | breaking syntax change: ??x to x.? (#1095) | Andrew Kelley | |
| See #1023 This also renames Nullable/Maybe to Optional | |||
| 2018-06-07 | fix structs that contain types which require comptime | Andrew Kelley | |
| Now, if a struct has any fields which require comptime, such as `type`, then the struct is marked as requiring comptime as well. Same goes for unions. This means that a function will implicitly be called at comptime if the return type is a struct which contains a field of type `type`. closes #586 | |||
| 2018-06-05 | add test for not allowing implicit cast from T to [*]const T | Andrew Kelley | |
| See #770 | |||
| 2018-06-05 | disable deref syntax for unknown length pointers | Andrew Kelley | |
| See #770 | |||
| 2018-06-05 | disable field access for unknown length pointers | Andrew Kelley | |
| See #770 | |||
| 2018-06-05 | disallow unknown-length pointer to opaque | Andrew Kelley | |
| This also means that translate-c has to detect when a pointer to opaque is happening, and use `*` instead of `[*]`. See #1059 | |||
| 2018-06-05 | fix crash when evaluating return type has compile error | Andrew Kelley | |
| closes #1058 | |||
| 2018-06-05 | Renamed "(int/float literal)" to "comptime_int/float" | Jimmi HC | |
| 2018-06-04 | Pointer Reform: proper slicing and indexing (#1053) | Andrew Kelley | |
| * enable slicing for single-item ptr to arrays * disable slicing for other single-item pointers * enable indexing for single-item ptr to arrays * disable indexing for other single-item pointers see #770 closes #386 | |||
| 2018-06-04 | disallow single-item pointer indexing | Andrew Kelley | |
| add pointer arithmetic for unknown length pointer | |||
| 2018-06-02 | better compile error for error sets behind nullable | Andrew Kelley | |
| 2018-06-01 | fix regressions | Andrew Kelley | |
| 2018-05-31 | use * for pointer type instead of & | Andrew Kelley | |
| See #770 To help automatically translate code, see the zig-fmt-pointer-reform-2 branch. This will convert all & into *. Due to the syntax ambiguity (which is why we are making this change), even address-of & will turn into *, so you'll have to manually fix thes instances. You will be guaranteed to get compile errors for them - expected 'type', found 'foo' | |||
| 2018-05-29 | run zig fmt on the codebase | Andrew Kelley | |
| See #1003 | |||
| 2018-05-17 | all tests passing with postfix deref syntax | Andrew Kelley | |
| 2018-05-01 | Resolved merge conflict. | Alexandros Naskos | |
| 2018-05-01 | Added tests. | Alexandros Naskos | |
| 2018-04-28 | .ReturnType and @ArgType now emits errors on unresolved types | Jimmi Holst Christensen | |
| related: #846 | |||
| 2018-04-22 | add compile error for invalid deref on switch target | Andrew Kelley | |
| closes #945 | |||
| 2018-04-21 | add test case for #936 | Andrew Kelley | |
| 2018-04-18 | support break in suspend blocks | Andrew Kelley | |
| * you can label suspend blocks * labeled break supports suspend blocks See #803 | |||
| 2018-04-18 | improve cmpxchg | Andrew Kelley | |
| * remove @cmpxchg, add @cmpxchgWeak and @cmpxchgStrong - See explanations in the langref. * add operand type as first parameter * return type is ?T where T is the operand type closes #461 | |||
| 2018-04-12 | inline functions must be stored in const or comptime var | Andrew Kelley | |
| closes #913 | |||
| 2018-04-11 | allow integer and float literals to be passed to var params | Andrew Kelley | |
| closes #623 | |||
| 2018-03-27 | fix crash when compile error in analyzing @panic call | Andrew Kelley | |
| 2018-03-21 | change async function call syntax | Andrew Kelley | |
| * instead of `async(allocator) call()`, now it is `async<allocator> call()`. * Fixes syntax ambiguity when leaving off the allocator * Fixes parse failure when call is a field access This sets a precedent for using `<` to pass arguments to a keyword. This will affect `enum`, `union`, and `fn` (see #661) | |||
| 2018-03-14 | fix tests broken by previous commit | Andrew Kelley | |
| 2018-03-13 | Tests for zero-bit field compiler error | Andrea Orru | |
| 2018-03-07 | add compile error for using @tagName on extern union | Andrew Kelley | |
| closes #742 | |||
| 2018-03-06 | fix missing compile error for returning error from void async function | Andrew Kelley | |
| closes #799 | |||
| 2018-03-06 | var is no longer a pseudo-type, it is syntax | Andrew Kelley | |
| closes #779 | |||
| 2018-03-06 | fix broken tests from previous commit | Andrew Kelley | |
