diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-12-18 20:52:40 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-12-18 20:52:40 -0500 |
| commit | 132e2fa5d9cc17088082cf4797701214c20845f1 (patch) | |
| tree | faf24be2d876da8ec77edcc5e5fa56b5217a7099 /src/analyze.cpp | |
| parent | cfc9f7422f3b0e4077eca42d7b71cd5523dad0a9 (diff) | |
| download | zig-132e2fa5d9cc17088082cf4797701214c20845f1.tar.gz zig-132e2fa5d9cc17088082cf4797701214c20845f1.zip | |
errors from inline fn calls include stack trace
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index c42df80c7a..144d50a70c 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -875,7 +875,7 @@ static IrInstruction *analyze_const_value(CodeGen *g, Scope *scope, AstNode *nod size_t backward_branch_count = 0; return ir_eval_const_value(g, scope, node, type_entry, &backward_branch_count, default_backward_branch_quota, - nullptr, nullptr, node, type_name); + nullptr, nullptr, node, type_name, nullptr); } TypeTableEntry *analyze_type_expr(CodeGen *g, Scope *scope, AstNode *node) { |
