Andrew Kelley
|
d9fed5cdfd
|
align(@alignOf(T)) T does not force resolution of T
|
2019-08-30 14:53:44 -04:00 |
|
Andrew Kelley
|
e9a4bcbcc6
|
fix regressions
|
2019-08-29 22:44:07 -04:00 |
|
Andrew Kelley
|
03910925f0
|
await does not force async if callee is blocking
closes #3067
|
2019-08-29 21:51:37 -04:00 |
|
Andrew Kelley
|
0512beca9d
|
comparing against zero participates in lazy values
|
2019-08-29 14:46:22 -04:00 |
|
Andrew Kelley
|
af90da1531
|
fix implicit cast from zero sized array ptr to slice
closes #1850
|
2019-08-28 12:16:52 -04:00 |
|
Andrew Kelley
|
7139eef4cf
|
implement lazy values for error union types
closes #3129
|
2019-08-28 11:17:20 -04:00 |
|
Andrew Kelley
|
47fcbfdc51
|
add regression test for already fixed bug
closes #3112
|
2019-08-27 17:39:06 -04:00 |
|
Andrew Kelley
|
f4519c520a
|
support self-referential struct through a slice of optional
by making optionals even more lazy
closes #1805
|
2019-08-27 16:55:58 -04:00 |
|
Andrew Kelley
|
c1fd7ed6e2
|
add regression test for struct with optional list of self
closes #1735
|
2019-08-27 14:06:17 -04:00 |
|
Andrew Kelley
|
428a2fdedd
|
better handle struct depends on itself via optional field
closes #1995
|
2019-08-27 13:59:18 -04:00 |
|
Andrew Kelley
|
e1b258f39f
|
add regression test for bug fixed by lazy values
closes #624
|
2019-08-27 13:44:04 -04:00 |
|
Andrew Kelley
|
8fef23a525
|
add regression test for bug fixed by lazy values
closes #1310
|
2019-08-27 13:36:42 -04:00 |
|
Andrew Kelley
|
d9ed55f017
|
fix not properly casting align values
and add check for alignment specified on enum fields
|
2019-08-27 12:54:50 -04:00 |
|
Andrew Kelley
|
ffac0b02e7
|
implement and test struct field explicit alignment
|
2019-08-27 10:14:11 -04:00 |
|
Andrew Kelley
|
db50cf7049
|
fix more compile error regressions
|
2019-08-26 22:38:45 -04:00 |
|
Andrew Kelley
|
bad4b040cc
|
miscellaneous fixes regarding compile errors
|
2019-08-26 18:35:36 -04:00 |
|
Andrew Kelley
|
ae65c236c5
|
fix regression with global variable assignment...
...with optional unwrapping with var initialized to undefined
|
2019-08-26 15:24:24 -04:00 |
|
Andrew Kelley
|
d316f70450
|
fix regression on struct field with undefined type
|
2019-08-26 14:01:59 -04:00 |
|
Andrew Kelley
|
73a7747a9c
|
fix some compile error regressions
|
2019-08-26 12:43:36 -04:00 |
|
Andrew Kelley
|
276eb4402b
|
specify the target for the newest test case
|
2019-08-20 14:40:57 -04:00 |
|
Timon Kruiper
|
2addec8ea1
|
compiler error when variable in asm template cannot be found
|
2019-08-20 14:11:03 -04:00 |
|
Marc Tiehuis
|
2aa18b9097
|
Merge pull request #3090 from ziglang/fmt-internal
fmt changes
|
2019-08-19 19:48:05 -10:00 |
|
Andrew Kelley
|
3dbed54294
|
fix @bitCast of packed struct literal
closes #3042
|
2019-08-19 17:50:37 -04:00 |
|
Andrew Kelley
|
6bc520ab95
|
solve it a slightly different way
the error handling of result locations is a bit awkward but it should
basically be the same everywhere
|
2019-08-19 17:35:19 -04:00 |
|
Michael Dusan
|
24deb1a7fe
|
fix @bitCast segfault with literal array param
closes #3010
|
2019-08-19 17:24:14 -04:00 |
|
Andrew Kelley
|
d067a037cc
|
fix void array as a local variable initializer
Related: #1767
|
2019-08-19 15:58:31 -04:00 |
|
Andrew Kelley
|
44fb5275c1
|
fix array multiplication not setting parent value info
closes #3095
|
2019-08-19 14:46:12 -04:00 |
|
Marc Tiehuis
|
98859c885e
|
std/fmt.zig: Pass full options struct to all internal functions
The fill specifier is now handled in some cases. The default fill of '0'
is now ' ' for integers and non-byte sequences.
|
2019-08-19 22:15:15 +12:00 |
|
Andrew Kelley
|
ea1734773b
|
add compile error for async frames depending on themselves
|
2019-08-17 19:47:49 -04:00 |
|
Andrew Kelley
|
57b90d2d98
|
allow implicit cast of fn to async fn
it forces the fn to be async. closes #3079
|
2019-08-17 17:22:20 -04:00 |
|
Andrew Kelley
|
66a490c27c
|
detect non-async function pointer of inferred async function
closes #3075
|
2019-08-17 16:49:23 -04:00 |
|
Vexu
|
0ff396c34f
|
add compile error for incorrect atomic ordering in fence #3082
|
2019-08-17 16:05:41 -04:00 |
|
Andrew Kelley
|
4d8a6f6fea
|
fix compiler not checking alignment of function frames
closes #3086
|
2019-08-17 13:04:50 -04:00 |
|
Andrew Kelley
|
bf7b6fbbdb
|
add missing compile error for fn call bad implicit cast
when the function's return type handle is a pointer but the result
location's result value type handle is not a pointer
closes #3055
|
2019-08-16 16:30:24 -04:00 |
|
Andrew Kelley
|
cbca6586e7
|
add test for struct parameter to async function being copied
closes #1155
|
2019-08-16 13:56:26 -04:00 |
|
Andrew Kelley
|
5a2cbe239f
|
fix and test case for returning from suspend block
See #3063
|
2019-08-16 13:07:07 -04:00 |
|
Andrew Kelley
|
13c584d325
|
add compile error for casting const frame to anyframe
See #3063
|
2019-08-16 11:38:41 -04:00 |
|
Andrew Kelley
|
7798054b58
|
add tests for bad implicit casting of anyframe types
See #3063
|
2019-08-16 11:00:21 -04:00 |
|
Andrew Kelley
|
4ea2331e3d
|
add test for async call of generic function
See #3063
|
2019-08-16 10:54:45 -04:00 |
|
Andrew Kelley
|
5df89dafef
|
add test for wrong frame type used for async call
See #3063
|
2019-08-16 10:49:00 -04:00 |
|
Andrew Kelley
|
1254a453b9
|
add compile error for @Frame() of generic function
See #3063
|
2019-08-16 10:44:51 -04:00 |
|
Andrew Kelley
|
49c88e23af
|
zig fmt
|
2019-08-16 10:13:40 -04:00 |
|
Andrew Kelley
|
ff7e826b82
|
fix crash with sometimes type not being resolved
|
2019-08-15 18:54:23 -04:00 |
|
Andrew Kelley
|
7e75e1075e
|
zig fmt
|
2019-08-15 18:19:04 -04:00 |
|
Andrew Kelley
|
55f5cee86b
|
fix error return traces for async calls of blocking functions
|
2019-08-15 15:06:05 -04:00 |
|
Andrew Kelley
|
13b5a4bf8c
|
remove cancel
|
2019-08-15 14:05:12 -04:00 |
|
Andrew Kelley
|
f3f838cc01
|
add compile error for await in exported function
|
2019-08-14 11:22:12 -04:00 |
|
Andrew Kelley
|
7799423f24
|
rename behavior test files
|
2019-08-14 00:38:27 -04:00 |
|
Andrew Kelley
|
5749dc49d8
|
respect local variable alignment in async functions
|
2019-08-14 00:35:51 -04:00 |
|
Andrew Kelley
|
12ff91c1c9
|
alignment of structs no longer depends on LLVM
fixes async function tests in optimized builds
|
2019-08-13 12:44:30 -04:00 |
|