aboutsummaryrefslogtreecommitdiff
path: root/std/bootstrap.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-03-18 11:24:58 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-03-18 11:28:43 -0400
commitfa7c64ccd511703fef9971c4d07c447c9aeda49c (patch)
tree6f41eb742160ec1584b6adb719ec1327f9e3c831 /std/bootstrap.zig
parentaf536ac343564e5120f99cbf3b7fc9efa984eb93 (diff)
downloadzig-fa7c64ccd511703fef9971c4d07c447c9aeda49c.tar.gz
zig-fa7c64ccd511703fef9971c4d07c447c9aeda49c.zip
lazy analysis of top level declarations
previously, we had lazy analysis of top level declarations, but if a declaration was referenced within a compile-time if or switch statement, that would still add the top level declaration to the resolution queue. now we have a declref ir instruction, which is only resolved if we analyze the instruction. this takes into account comptime branching. closes #270
Diffstat (limited to 'std/bootstrap.zig')
0 files changed, 0 insertions, 0 deletions