authorgravatar for michael.dusan@gmail.comMichael Dusan <michael.dusan@gmail.com> 2023-09-10 14:23:22-04:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2023-09-11 00:29:56+03:00
logacc9471915d74fc2cb475ea3220a249d81e3036e
tree5cad1a894155c77abac77ccf6b2a7ecf5cbd230e
parentd2014fe9713794f6cc0830301a1110d5e92d0ff0

doc: inline comptime conditional block

Better illustrate what happens to the block after inlining comptime conditionals. closes #17106

1 files changed, 3 insertions(+), 1 deletions(-)

doc/langref.html.in+3-1
......@@ -7015,7 +7015,9 @@ test "try to compare bools" {
70157015 </p>
70167016 {#code_begin|syntax|compiler_generated_function#}
70177017fn max(a: bool, b: bool) bool {
7018 return a or b;
7018 {
7019 return a or b;
7020 }
70197021}
70207022 {#code_end#}
70217023 <p>