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
fnF[U:! Core.Destroy where .Self impls I(.Self)](u: U) {
324
+
// This tests that both `I.G` is accessible and that `Destroy` is preserved;
325
+
// we'd get an error for missing Destroy otherwise since G() returns an
326
+
// initializing expression.
327
+
328
+
// CHECK:STDERR: fail_todo_compound_lookup_on_returned_period_self_parameter.carbon:[[@LINE+4]]:3: error: cannot access member of interface `I(U as Core.Destroy)` in type `U` that does not implement that interface [MissingImplInMemberAccess]
0 commit comments