diff options
| author | LemonBoy <thatlemon@gmail.com> | 2020-10-25 23:17:32 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-10-29 20:06:52 -0400 |
| commit | 490cafe2c5a62585fd80245a0f6fa5cff4f52dba (patch) | |
| tree | cfeaee15bc2cb5b37e9c9f83d1068c28f8c5e280 /doc | |
| parent | f4bb8be9fc8766fec93618f89552c28d3f0a201b (diff) | |
| download | zig-490cafe2c5a62585fd80245a0f6fa5cff4f52dba.tar.gz zig-490cafe2c5a62585fd80245a0f6fa5cff4f52dba.zip | |
stage1: Error out when trying to execute `unreachable`
Closes #6802
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/langref.html.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/langref.html.in b/doc/langref.html.in index 8d4238473f..5e8ec10534 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -8675,7 +8675,7 @@ test "safety check" { {#code_end#} {#header_open|Reaching Unreachable Code#} <p>At compile-time:</p> - {#code_begin|test_err|unable to evaluate constant expression#} + {#code_begin|test_err|reached unreachable code#} comptime { assert(false); } |
