aboutsummaryrefslogtreecommitdiff
path: root/ci/azure/linux_script
diff options
context:
space:
mode:
authorRyan Liptak <squeek502@hotmail.com>2020-07-08 00:53:19 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-07-08 19:32:15 +0000
commitf77c968cf841046238eb37f54600cda201f09ce2 (patch)
tree49221c678e9037ec5f305ebac52dcf3c64e069f5 /ci/azure/linux_script
parenteeae3a8f9df49e53392bcd7b04b463f6bffcec9c (diff)
downloadzig-f77c968cf841046238eb37f54600cda201f09ce2.tar.gz
zig-f77c968cf841046238eb37f54600cda201f09ce2.zip
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.
Diffstat (limited to 'ci/azure/linux_script')
0 files changed, 0 insertions, 0 deletions