diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-05-02 15:06:32 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-05-02 15:06:32 -0700 |
| commit | d5f77c0babb83e5e9d651fa96b84f374dd3f0c57 (patch) | |
| tree | baf1769e190bbddd727fe21f08491630612cf961 /lib/std | |
| parent | 0611aa39858e6d7613cda3b3da981ff6b208a5e8 (diff) | |
| download | zig-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
