You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardexpand all lines: explorer/testdata/comparison/fail_empty_struct.carbon
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ package ExplorerTest api;
10
10
// TODO: This should work
11
11
// CHECK: COMPILATION ERROR: {{.*}}/explorer/testdata/comparison/fail_empty_struct.carbon:[[@LINE+1]]: type error in call: '{}' is not implicitly convertible to 'Type'
Copy file name to clipboardexpand all lines: explorer/testdata/function/auto_return/fail_direct_recurse.carbon
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ package ExplorerTest api;
12
12
13
13
// This is required to fail even though the Recurse() call's return value isn't
14
14
// used.
15
-
fnRecurse(x: i32, do_recurse: Bool) -> auto {
15
+
fnRecurse(x: i32, do_recurse: bool) -> auto {
16
16
if (do_recurse) {
17
17
// CHECK: COMPILATION ERROR: {{.*}}/explorer/testdata/function/auto_return/fail_direct_recurse.carbon:[[@LINE+1]]: Function calls itself, but has a deduced return type
Copy file name to clipboardexpand all lines: explorer/testdata/generic_class/fail_point_equal.carbon
+2-2
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ class Point(T:! Type) {
17
17
18
18
fnMain() -> i32 {
19
19
var p: Point(i32) = {.x=0, .y=0};
20
-
// CHECK: COMPILATION ERROR: {{.*}}/explorer/testdata/generic_class/fail_point_equal.carbon:[[@LINE+1]]: type error in name binding: 'class Point(T = i32)' is not implicitly convertible to 'class Point(T = Bool)'
21
-
var q: Point(Bool) = p;
20
+
// CHECK: COMPILATION ERROR: {{.*}}/explorer/testdata/generic_class/fail_point_equal.carbon:[[@LINE+1]]: type error in name binding: 'class Point(T = i32)' is not implicitly convertible to 'class Point(T = bool)'
Copy file name to clipboardexpand all lines: explorer/testdata/global_variable/fail_init_type_mismatch.carbon
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ package ExplorerTest api;
12
12
13
13
// Test type checking of global variable. Error expected.
14
14
15
-
// CHECK: COMPILATION ERROR: {{.*}}/explorer/testdata/global_variable/fail_init_type_mismatch.carbon:[[@LINE+1]]: type error in initializer of variable: 'Bool' is not implicitly convertible to 'i32'
15
+
// CHECK: COMPILATION ERROR: {{.*}}/explorer/testdata/global_variable/fail_init_type_mismatch.carbon:[[@LINE+1]]: type error in initializer of variable: 'bool' is not implicitly convertible to 'i32'
Copy file name to clipboardexpand all lines: explorer/testdata/impl/fail_param_interface_in_impl.carbon
+1-1
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ fn Main() -> i32 {
21
21
let n: i32=0;
22
22
CheckSimilar(true, false);
23
23
CheckSimilar(true, n);
24
-
// CHECK: COMPILATION ERROR: {{.*}}/explorer/testdata/impl/fail_param_interface_in_impl.carbon:[[@LINE+1]]: could not find implementation of interface Similar(T = i32) for Bool
24
+
// CHECK: COMPILATION ERROR: {{.*}}/explorer/testdata/impl/fail_param_interface_in_impl.carbon:[[@LINE+1]]: could not find implementation of interface Similar(T = i32) for bool
0 commit comments