diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-08-08 20:53:06 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-08-08 21:12:04 -0700 |
| commit | feb90f6ed4f64eb0faef8fbbcf8c51fad5392b39 (patch) | |
| tree | 39e5fc83c905256d24a903ed8b6f56c26b5102b6 /src/Module.zig | |
| parent | 0648177ed7a1ad5364c478b63ec28a6de15e4ad9 (diff) | |
| download | zig-feb90f6ed4f64eb0faef8fbbcf8c51fad5392b39.tar.gz zig-feb90f6ed4f64eb0faef8fbbcf8c51fad5392b39.zip | |
AstGen: emit debug stmt for try
This improves the following test case:
```zig
pub fn main() !void {
try foo();
}
fn foo() !void {
return error.Bad;
}
```
The error return trace now points to the `try` token instead of pointing
to the foo() function call, matching stage1.
Closes #12308.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions
