diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-06-12 22:13:18 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-06-12 22:13:18 -0400 |
| commit | b552e68c143ead1b6bab662afd5b9fa8a7480f10 (patch) | |
| tree | e2be585174abec39147418d7b600e631afb523ed /src/analyze.cpp | |
| parent | cdf14baa45257a884fa20d8d992eb7be0d344005 (diff) | |
| download | zig-b552e68c143ead1b6bab662afd5b9fa8a7480f10.tar.gz zig-b552e68c143ead1b6bab662afd5b9fa8a7480f10.zip | |
fix result loc implicit casting optionals and error unions
```zig
pub fn openHandle(handle: i32) File {
return File{ .handle = handle };
}
pub fn getStdErr() anyerror!File {
return openHandle(1);
}
```
Diffstat (limited to 'src/analyze.cpp')
0 files changed, 0 insertions, 0 deletions
