9aa65c0e8e
Allow implicit casts from n-th degree const pointers to nullable const pointers of degree n+1. That is: fn f() void { const s = S {}; const p = &s; g(p); // Works. g(&p); // So does this. } fn g(_: ?&const &const S) void { // Nullable 2nd degree const ptr. } Fixes #731 some more. |
||
---|---|---|
.. | ||
cases | ||
standalone | ||
assemble_and_link.zig | ||
behavior.zig | ||
build_examples.zig | ||
compare_output.zig | ||
compile_errors.zig | ||
gen_h.zig | ||
runtime_safety.zig | ||
tests.zig | ||
translate_c.zig |