diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-12-12 18:56:39 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-12-12 18:56:39 -0500 |
| commit | 7699b5b997c7a024a6d9558df0ec72d71ef402fe (patch) | |
| tree | ea996d6252efe24158a802fb50c1a28c3b3d6717 /src/dump_analysis.cpp | |
| parent | 81f1f72197113a45e827d5c984e219a28aa28083 (diff) | |
| parent | fff3c1fff4c3ebfcb2bd4f08a43ae7815b5c446b (diff) | |
| download | zig-7699b5b997c7a024a6d9558df0ec72d71ef402fe.tar.gz zig-7699b5b997c7a024a6d9558df0ec72d71ef402fe.zip | |
Merge branch 'Xe-expose-callMain'
closes #3891
Diffstat (limited to 'src/dump_analysis.cpp')
| -rw-r--r-- | src/dump_analysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dump_analysis.cpp b/src/dump_analysis.cpp index 2b7d7a8bd9..c31438b658 100644 --- a/src/dump_analysis.cpp +++ b/src/dump_analysis.cpp @@ -1216,7 +1216,7 @@ void zig_print_analysis_dump(CodeGen *g, FILE *f, const char *one_indent, const jw_end_object(jw); jw_object_field(jw, "rootPkg"); - anal_dump_pkg_ref(&ctx, g->root_package); + anal_dump_pkg_ref(&ctx, g->main_pkg); // Poke the functions for (size_t i = 0; i < g->fn_defs.length; i += 1) { |
