zig/src-self-hosted
Andrew Kelley bf3ac66150
remove type coercion from array values to references
* Implements #3768. This is a sweeping breaking change that requires
   many (trivial) edits to Zig source code. Array values no longer
   coerced to slices; however one may use `&` to obtain a reference to
   an array value, which may then be coerced to a slice.

 * Adds `IrInstruction::dump`, for debugging purposes. It's useful to
   call to inspect the instruction when debugging Zig IR.

 * Fixes bugs with result location semantics. See the new behavior test
   cases, and compile error test cases.

 * Fixes bugs with `@typeInfo` not properly resolving const values.

 * Behavior tests are passing but std lib tests are not yet. There
   is more work to do before merging this branch.
2019-11-27 03:37:50 -05:00
..
arg.zig
c_int.zig
c.zig
clang.zig
codegen.zig
compilation.zig
decl.zig
dep_tokenizer.zig remove type coercion from array values to references 2019-11-27 03:37:50 -05:00
errmsg.zig
introspect.zig
ir.zig
libc_installation.zig
link.zig
llvm.zig
main.zig remove type coercion from array values to references 2019-11-27 03:37:50 -05:00
package.zig
scope.zig
stage1.zig remove type coercion from array values to references 2019-11-27 03:37:50 -05:00
test.zig
translate_c.zig
type.zig
util.zig
value.zig
visib.zig