zig/test/cases
Josh Wolfe c6605cba83 blocks check that their statements are void
closes #291

This changes the error message "return value ignored" to "expression value is ignored".
This is because this error also applies to {1;}, which has no function calls.

Also fix ignored expression values in std and test.
This caught a bug in debug.readAllocBytes where an early Eof error would have been missed.
See #219.
2017-04-23 21:15:15 -07:00
..
import
namespace_depends_on_compile_var
pub_enum
array.zig
asm.zig support module level assembly 2017-04-04 19:47:22 -04:00
atomics.zig
bool.zig
cast.zig slicing now returns correct const-ness 2017-04-22 12:19:20 -04:00
const_slice_child.zig slicing now returns correct const-ness 2017-04-22 12:19:20 -04:00
defer.zig remove ?return and ?defer 2017-04-21 15:08:03 -04:00
enum_with_members.zig
enum.zig add enumTagName builtin function 2017-04-08 17:45:22 -04:00
error.zig
eval.zig fix for loops not working at compile-time 2017-04-10 03:00:19 -04:00
field_parent_ptr.zig add @fieldParentPtr builtin function 2017-04-18 02:28:05 -04:00
fn.zig ability to inline at function callsite 2017-04-13 00:13:54 -04:00
for.zig
generics.zig rename @ptrcast to @ptrCast to follow convention 2017-04-21 10:39:13 -04:00
goto.zig
if.zig
import.zig
incomplete_struct_param_tld.zig
ir_block_deps.zig
math.zig rename @intType to @IntType to follow convention 2017-04-18 00:05:09 -04:00
misc.zig update syntax for try and nullable unwrapping 2017-04-21 16:46:33 -04:00
null.zig update syntax for try and nullable unwrapping 2017-04-21 16:46:33 -04:00
sizeof_and_typeof.zig Add @offsetOf builtin function 2017-04-20 11:53:00 +00:00
struct_contains_slice_of_itself.zig
struct.zig rename @ptrcast to @ptrCast to follow convention 2017-04-21 10:39:13 -04:00
switch_prong_err_enum.zig blocks check that their statements are void 2017-04-23 21:15:15 -07:00
switch_prong_implicit_cast.zig
switch.zig Update zig build system to support user defined options 2017-04-06 05:34:04 -04:00
this.zig
try.zig update syntax for try and nullable unwrapping 2017-04-21 16:46:33 -04:00
undefined.zig
var_args.zig add compile error for the bug of unable to call var ags at compile time 2017-04-07 00:33:19 -04:00
void.zig
while.zig