aboutsummaryrefslogtreecommitdiff
path: root/src/windows_sdk.cpp
diff options
context:
space:
mode:
authorVeikka Tuominen <git@vexu.eu>2022-09-29 18:51:04 +0300
committerVeikka Tuominen <git@vexu.eu>2022-09-30 00:09:24 +0300
commit312260124279027a248d669e6096c3ab603fa188 (patch)
tree6a09e77470321e38cf6687e6e6d345f8fc7c98c5 /src/windows_sdk.cpp
parentb3c6d774d292e6e4ddf4cd54455c4ef3c6386d66 (diff)
downloadzig-312260124279027a248d669e6096c3ab603fa188.tar.gz
zig-312260124279027a248d669e6096c3ab603fa188.zip
AstGen: do not set decl_line for containers
Previously AstGen would set decl_line for containers so that declarations inside them would be relative to the start of the container but Sema was not aware of the line offset of the container and would make them relative to the containers parent decl which would then break for generic structs. In the future when working on incremental compilation it will likely be better to communicate the line delta to Sema but for now this is a simpler fix that correctly handles the non-incremental case. Closes #12725 Closes #12818
Diffstat (limited to 'src/windows_sdk.cpp')
0 files changed, 0 insertions, 0 deletions