Fix ASTPrinting of borrow/mutate protocol requirements

This commit is contained in:
Meghana Gupta
2026-02-04 00:35:01 -08:00
parent 0fb21c9156
commit 657fa172bc
2 changed files with 11 additions and 5 deletions

View File

@@ -25,7 +25,7 @@ import borrow_accessors
// CHECK: public protocol P {
// CHECK: #if compiler(>=5.3) && $BorrowAndMutateAccessors
// TODO-CHECK: var k: borrow_accessors.Klass { borrow mutate }
// CHECK: var k: borrow_accessors.Klass { borrow mutate }
// CHECK: #endif
// CHECK: }
// CHECK: public struct Wrapper : borrow_accessors.P {