aboutsummaryrefslogtreecommitdiff
path: root/std/dwarf.zig
diff options
context:
space:
mode:
authorJosh Wolfe <thejoshwolfe@gmail.com>2017-04-23 16:59:55 -0700
committerJosh Wolfe <thejoshwolfe@gmail.com>2017-04-23 21:15:15 -0700
commitc6605cba8375871a145896f9cf1090e9c823214a (patch)
treef6309057804dc9fd6d5fa10feafb9d8f6a44a713 /std/dwarf.zig
parent6de33ded81981554ccffc3ecbfcd5b0f628cf502 (diff)
downloadzig-c6605cba8375871a145896f9cf1090e9c823214a.tar.gz
zig-c6605cba8375871a145896f9cf1090e9c823214a.zip
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.
Diffstat (limited to 'std/dwarf.zig')
0 files changed, 0 insertions, 0 deletions