aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-06-28 14:16:15 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-07-02 13:26:50 -0700
commit7f5560689aeb0e2ab84c5e3dc48f84247bd5bdc3 (patch)
treeeafe7ba69a4ebffc6c54067f6bf615daf6d89bdb /src/Compilation.zig
parentcffa22a658d23bdedbdd7e23853b80d856e43627 (diff)
downloadzig-7f5560689aeb0e2ab84c5e3dc48f84247bd5bdc3.tar.gz
zig-7f5560689aeb0e2ab84c5e3dc48f84247bd5bdc3.zip
AstGen: introduce 'reachableExpr' function
This function can be swapped out for calls to expr() to report a compile error when the expression results in control flow that does not return.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions