Change remaining uses of Bool to bool, following #750. (#1901)

The most significant change here is that explorer now uses the chosen spelling
rather than the old `Bool` spelling. Also update a few documentation examples
and some skeletal design docs to use the chosen spelling.
This commit is contained in:
Richard Smith
2022-08-03 17:55:34 -07:00
committed by GitHub
parent 72d3d3c75c
commit e26bc32343
39 changed files with 81 additions and 77 deletions
@@ -12,7 +12,7 @@ package ExplorerTest api;
// This is required to fail even though the Recurse() call's return value isn't
// used.
fn Recurse(x: i32, do_recurse: Bool) -> auto {
fn Recurse(x: i32, do_recurse: bool) -> auto {
if (do_recurse) {
// CHECK: COMPILATION ERROR: {{.*}}/explorer/testdata/function/auto_return/fail_direct_recurse.carbon:[[@LINE+1]]: Function calls itself, but has a deduced return type
Recurse(x, false);