| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-08-18 | Merge pull request #12462 from Vexu/stage2-noreturn | Veikka Tuominen | |
| Stage2: improve behavior of noreturn | |||
| 2022-08-17 | fix typo in compile error message | Andrew Kelley | |
| 2022-08-17 | add test | Veikka Tuominen | |
| 2022-08-17 | Sema: allow empty enums and unions | Veikka Tuominen | |
| 2022-08-17 | Sema: properly handle noreturn fields in unions | Veikka Tuominen | |
| 2022-08-17 | Sema: make noreturn error union behave correctly | Veikka Tuominen | |
| 2022-08-17 | Sema: make optional noreturn behave correctly | Veikka Tuominen | |
| 2022-08-16 | AstGen: detect declarations shadowing locals | Veikka Tuominen | |
| Closes #9355 | |||
| 2022-08-15 | stage2: add compile errors for comptime `@shrExact` and `@divExact` failures | LeRoyce Pearson | |
| 2022-08-12 | Sema: add error for signed integer division | martinhath | |
| stage1 error reads error: division with 'i32' and 'comptime_int': signed integers must use @divTrunc, @divFloor, or @divExact Fixes: #12339 | |||
| 2022-08-10 | Merge pull request #12379 from ifreund/packed-struct-explicit-backing-int | Andrew Kelley | |
| stage2: Implement explicit backing integers for packed structs | |||
| 2022-08-10 | stage2: add compile error for invalid null/undefined pointer cast | InKryption | |
| 2022-08-10 | stage2: add compile error for shlExact overflow | LeRoyce Pearson | |
| - moves a stage1 test case and makes it target `llvm` backend instead of `stage1` backend | |||
| 2022-08-10 | stage2: Implement explicit backing integers for packed structs | Isaac Freund | |
| Now the backing integer of a packed struct type may be explicitly specified with e.g. `packed struct(u32) { ... }`. | |||
| 2022-08-09 | Sema: add declared here note to function call errors | Veikka Tuominen | |
| 2022-08-09 | stage2: generate call arguments in separate blocks | Veikka Tuominen | |
| 2022-08-09 | stage2: correct node offset of nested declarations | Veikka Tuominen | |
| 2022-08-08 | stage2: pass anon name strategy to reify | Veikka Tuominen | |
| 2022-08-07 | remove brittle test case | Andrew Kelley | |
| see #12358 | |||
| 2022-08-06 | Sema: fix infinite recursion in `explainWhyTypeIsComptime` | Anton Lilja | |
| Co-authored-by: Veikka Tuominen <git@vexu.eu> | |||
| 2022-08-03 | Sema: add error for dependency loops | Veikka Tuominen | |
| 2022-08-03 | AstGen: better source location for if/while condition unwrapping | Veikka Tuominen | |
| 2022-08-03 | AstGen: check loop bodies and else branches for unused result | Veikka Tuominen | |
| 2022-08-03 | Sema: improve circular dependency errors | Veikka Tuominen | |
| 2022-08-03 | AstGen: add error for break/continue out of defer expression | Veikka Tuominen | |
| 2022-08-03 | Sema: add error for closure capture at runtime | Veikka Tuominen | |
| 2022-08-02 | Sema: add safety for sentinel slice | Veikka Tuominen | |
| 2022-08-01 | Sema: validate packed struct field types | Veikka Tuominen | |
| 2022-08-01 | stage2: better source location for var decls | Veikka Tuominen | |
| 2022-08-01 | Sema: validate bitcast operand type | Veikka Tuominen | |
| 2022-07-30 | Sema: check comptime slice sentinel | Veikka Tuominen | |
| 2022-07-30 | Sema: implement coercion from tuples to tuples | Veikka Tuominen | |
| Closes #12242 | |||
| 2022-07-30 | Sema: implement `@Type` for functions | Veikka Tuominen | |
| Closes #12280 | |||
| 2022-07-29 | fix compile error test case note column number | Andrew Kelley | |
| 2022-07-29 | stage2: handle tuple init edge cases | Veikka Tuominen | |
| 2022-07-29 | stage2: add error for comptime control flow in runtime block | Veikka Tuominen | |
| 2022-07-26 | test-cases: remove failing test | Andrew Kelley | |
| This causes a stack overflow in a debug build of stage3 unfortunately. I will open an issue to track this test coverage, which we absolutely should get working - users of the compiler should get a compile error, not a segfault if they hit the default branch quota from abusing recursive inline functions. Note that the problem does not occur in a release build of stage3 which has significantly reduced stack usage. On Linux, I tried bumping up the stack size from 32 MiB to 64 MiB and it did not solve the problem. I'm not sure why not. It seems like it should be fine. Note that we also have a problem of running test-cases in multi-threaded mode which is currently the default. Currently Zig threads are spawned with 16 MiB stack space. | |||
| 2022-07-26 | Merge pull request #12244 from Vexu/stage2 | Andrew Kelley | |
| Minor stage2 fixes | |||
| 2022-07-26 | Sema: better error when coercing error sets | Veikka Tuominen | |
| 2022-07-26 | Sema: improve expression value ignored error | Veikka Tuominen | |
| Closes #4483 | |||
| 2022-07-26 | Sema: resolve lazy values for compile log | Veikka Tuominen | |
| Close #12204 | |||
| 2022-07-26 | Sema: give comptime_field_ptr priority over field_ptr in tuples | Veikka Tuominen | |
| Closes #11983 | |||
| 2022-07-26 | AstGen: disable null bytes and empty stings in some places | Veikka Tuominen | |
| Namely: * test names * identifiers * library names * import strings | |||
| 2022-07-26 | Sema: better source location for builtin options | Veikka Tuominen | |
| 2022-07-26 | Module: improve handling of errors in `@call` arguments | Veikka Tuominen | |
| 2022-07-24 | stage2: implement `noinline fn` | Meghan | |
| 2022-07-24 | report better error for package not found in stage2 | Andreas Reischuck | |
| 2022-07-23 | Sema: validate duplicate fields in anon structs | Veikka Tuominen | |
| 2022-07-23 | Sema: add some more 'declared here' notes | Veikka Tuominen | |
| 2022-07-23 | AstGen: make comptime fields in packed and extern structs compile errors | Veikka Tuominen | |
