@@ -65,28 +65,30 @@ impl C as J where .X = ();
6565// CHECK:STDERR:
6666impl C as J where .X = () {}
6767
68- // --- fail_class_with_qualified_rewrite .carbon
68+ // --- fail_todo_class_with_qualified_rewrite .carbon
6969library "[[@TEST_NAME]]" ;
7070
7171interface J ;
7272interface K { let X:! type ; }
7373class C {}
7474
75- // TODO: The failure here should be that J is incomplete, once the rewrite of
76- // `.(K.X)` works. Since any rewrite in the decl requires us to know the size of
77- // the witness table which requires all interfaces to be complete.
75+ // TODO: There should be no error here.
7876//
79- // CHECK:STDERR: fail_class_with_qualified_rewrite .carbon:[[@LINE+8]]:38: error: expected identifier or `Self` after `.` [ExpectedIdentifierOrSelfAfterPeriod]
77+ // CHECK:STDERR: fail_todo_class_with_qualified_rewrite .carbon:[[@LINE+8]]:38: error: expected identifier or `Self` after `.` [ExpectedIdentifierOrSelfAfterPeriod]
8078// CHECK:STDERR: impl C as J where .Self impls K and .(K.X) = ();
8179// CHECK:STDERR: ^
8280// CHECK:STDERR:
83- // CHECK:STDERR: fail_class_with_qualified_rewrite .carbon:[[@LINE+4]]:38: error: semantics TODO: `handle invalid parse trees in `check`` [SemanticsTodo]
81+ // CHECK:STDERR: fail_todo_class_with_qualified_rewrite .carbon:[[@LINE+4]]:38: error: semantics TODO: `handle invalid parse trees in `check`` [SemanticsTodo]
8482// CHECK:STDERR: impl C as J where .Self impls K and .(K.X) = ();
8583// CHECK:STDERR: ^
8684// CHECK:STDERR:
8785impl C as J where .Self impls K and .(K.X) = ();
8886
89- // CHECK:STDERR: fail_class_with_qualified_rewrite.carbon:[[@LINE+4]]:38: error: expected identifier or `Self` after `.` [ExpectedIdentifierOrSelfAfterPeriod]
87+ // TODO: The failure here should be that J is incomplete, once the rewrite of
88+ // `.(K.X)` works. Since any rewrite in the decl requires us to know the size of
89+ // the witness table which requires all interfaces to be complete.
90+ //
91+ // CHECK:STDERR: fail_todo_class_with_qualified_rewrite.carbon:[[@LINE+4]]:38: error: expected identifier or `Self` after `.` [ExpectedIdentifierOrSelfAfterPeriod]
9092// CHECK:STDERR: impl C as J where .Self impls K and .(K.X) = () {}
9193// CHECK:STDERR: ^
9294// CHECK:STDERR:
@@ -255,7 +257,7 @@ impl C as I where .Self impls Incomplete {
255257// CHECK:STDOUT: .Self = constants.%C
256258// CHECK:STDOUT: }
257259// CHECK:STDOUT:
258- // CHECK:STDOUT: --- fail_class_with_qualified_rewrite .carbon
260+ // CHECK:STDOUT: --- fail_todo_class_with_qualified_rewrite .carbon
259261// CHECK:STDOUT:
260262// CHECK:STDOUT: constants {
261263// CHECK:STDOUT: %K.type: type = facet_type <@K> [concrete]
0 commit comments