mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user