Skip to content

Commit f2dc894

Browse files
committed
[test] Fix issues uncovered in code review
1 parent 8dddef6 commit f2dc894

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

test/IDE/complete_unresolved_members.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ class C4 {
158158
// UNRESOLVED_3_OPT-DAG: Decl[InstanceMethod]/CurrNominal/IsSystem: map({#(self): Optional<SomeEnum1>#})[#((SomeEnum1) throws(Error) -> ~Copyable) -> ~Copyable?#]; name=map(:)
159159
// UNRESOLVED_3_OPT-DAG: Decl[InstanceMethod]/CurrNominal/IsSystem: flatMap({#(self): Optional<SomeEnum1>#})[#((SomeEnum1) throws(Error) -> ~Copyable?) -> ~Copyable?#];
160160
// UNRESOLVED_3_OPT-DAG: Decl[InstanceMethod]/CurrNominal/IsSystem/TypeRelation[Invalid]: hash({#(self): Optional<SomeEnum1>#})[#(into: inout Hasher) -> Void#];
161+
// UNRESOLVED_3_OPT-DAG: Decl[InstanceMethod]/CurrNominal/IsSystem: take({#(self): &Optional<SomeEnum1>#})[#() -> Optional<SomeEnum1>#];
161162

162163
// Exhaustive to make sure we don't include `init({#(some):` or `init({#nilLiteral:` entries
163164
// UNRESOLVED_3_OPTOPTOPT: Begin completions, 10 items

test/Prototypes/Hypoarray.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
// REQUIRES: executable_test
1717

1818
import StdlibUnittest
19-
import Synchronization
2019

2120
struct Hypoarray<Element: ~Copyable>: ~Copyable {
2221
private var _storage: UnsafeMutableBufferPointer<Element>

0 commit comments

Comments
 (0)