| Age | Commit message (Collapse) | Author |
|
Closes #12376
|
|
Closes #12566
|
|
Closes #12242
|
|
Closes #12279
|
|
|
|
|
|
This commit adds support for initializing `.anon_struct` types. There
is also some follow-up work to do for both tuples and structs regarding
comptime fields, so this also adds some tests to keep track of that
work.
|
|
|
|
|
|
* improve names
* properly categorize a couple of bug cases
* mark one as already passing
|
|
|
|
This enables the tests that now pass due to the changes to lower
parent pointers are lowered, as well as the additional features to unions.
|
|
Also promote tests that are now passing.
|
|
|
|
Now they both use `Value.Tag.aggregate`.
Additionally the LLVM backend now has implemented lowering of
tuple values.
|
|
when an inferred alloc is passed as the result pointer of a block.
|
|
This is a companion commit to f2a5d0bf94897554e25e889dc1c6c4c7fc6c1217.
What that one did for tuples, this one does for anonymous structs.
|
|
|
|
When the anytype parameter had only one-possible-value
(e.g. `void`), it would create a mismatch in the function type and the
function call. Now the function type and the callsite both omit the
one-possible-value anytype parameter in instantiated generic functions.
|
|
|
|
Co-authored-by: Veikka Tuominen <git@vexu.eu>
|
|
This makes formatted printing work when mixing comptime and runtime
fields.
|
|
|
|
|
|
|
|
This small change makes working with tuple types much easier, allowing
the use of anonymous (eg. obtained with meta.ArgsTuple) tuples in more
places without the need for specifying each (quoted!) field name in the
initializer.
|
|
Conflicts:
* doc/langref.html.in
* lib/std/enums.zig
* lib/std/fmt.zig
* lib/std/hash/auto_hash.zig
* lib/std/math.zig
* lib/std/mem.zig
* lib/std/meta.zig
* test/behavior/alignof.zig
* test/behavior/bitcast.zig
* test/behavior/bugs/1421.zig
* test/behavior/cast.zig
* test/behavior/ptrcast.zig
* test/behavior/type_info.zig
* test/behavior/vector.zig
Master branch added `try` to a bunch of testing function calls, and some
lines also had changed how to refer to the native architecture and other
`@import("builtin")` stuff.
|
|
And fix test cases to make them pass. This is in preparation for
starting to pass behavior tests with self-hosted.
|