aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-05-02 15:06:32 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-05-02 15:06:32 -0700
commitd5f77c0babb83e5e9d651fa96b84f374dd3f0c57 (patch)
treebaf1769e190bbddd727fe21f08491630612cf961 /lib/std
parent0611aa39858e6d7613cda3b3da981ff6b208a5e8 (diff)
downloadzig-d5f77c0babb83e5e9d651fa96b84f374dd3f0c57.tar.gz
zig-d5f77c0babb83e5e9d651fa96b84f374dd3f0c57.zip
stage2: fix error reporting not loading AST
In the byteOffset function, compile errors may need to compute the AST from source bytes in order to resolve source locations. Previously there were a few lines trying to access the AST before it was loaded. Trivial fix, just move load the tree at the beginning.
Diffstat (limited to 'lib/std')
0 files changed, 0 insertions, 0 deletions