Skip to content

Commit 4bcb371

Browse files
committed
Add regression test to close #56100
1 parent 0e9a3cb commit 4bcb371

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// RUN: %swift-ide-test -code-completion -code-completion-token=COMPLETE -source-filename %s
2+
3+
extension Result {
4+
public init(_ value: Success?) {
5+
self = value.map(#^COMPLETE^#)
6+
}
7+
}
8+
9+
public func materialize<T>(_ f: T) {}

0 commit comments

Comments
 (0)