diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-03-06 18:30:30 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-03-06 18:30:30 -0500 |
| commit | fa46bcb36864e6616ce4449965063f3b8720f8e1 (patch) | |
| tree | d0f486600d651e47609ac57bed117422791930bc /test/compile_errors.zig | |
| parent | 83d27f71ef92d555cc15645bf9d948203ba8af1e (diff) | |
| download | zig-fa46bcb36864e6616ce4449965063f3b8720f8e1.tar.gz zig-fa46bcb36864e6616ce4449965063f3b8720f8e1.zip | |
stage1: make get_optional_type more robust
Now it will emit a compile error rather than crashing when the child
type has not been resolved properly.
Introduces `get_optional_type2` which should be used generally inside
ir.cpp.
Fix some std lib compile errors noticed by the provided test case.
Thanks @LemonBoy for the test case. Closes #4377.
Fixes #4374.
Diffstat (limited to 'test/compile_errors.zig')
0 files changed, 0 insertions, 0 deletions
