langref: Add test case for "if error union with optional"
This is an edge case that isn't too uncommon but is rather confusing to try to deduce without documentation, since it feels like `else` is being overloaded in this scenario and there's no obvious 'correct' behavior here. This just adds a test demonstrating how Zig currently behaves in this scenario.
R
Ryan Liptak committed
f77c968cf841046238eb37f54600cda201f09ce2
Parent: eeae3a8
Committed by Andrew Kelley <andrew@ziglang.org>
on 7/8/2020, 7:32:15 PM