diff options
| author | mparadinha <mparadinha@users.noreply.github.com> | 2022-11-15 13:17:23 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-15 15:17:23 +0200 |
| commit | c4f7663c921033a52b1688b88811c92422d58293 (patch) | |
| tree | db397e08151a9666b3a1d03d6b97bcea9eada6e1 /src/codegen | |
| parent | ceb9fedb47d2a02b428e1dafaa3965104e752ddf (diff) | |
| download | zig-c4f7663c921033a52b1688b88811c92422d58293.tar.gz zig-c4f7663c921033a52b1688b88811c92422d58293.zip | |
Fix error reporting the wrong line for struct field inits (#13502)
* point to init part of field delc when that's where the error occurs
* update test to reflect fixed error message
* only lookup source location in case of error
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
