We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d2fd56 commit 86e5e7dCopy full SHA for 86e5e7d
validation-test/IDE/crashers_2_fixed/rdar64265821.swift
@@ -0,0 +1,12 @@
1
+// RUN: %target-swift-ide-test -code-completion -code-completion-token=COMPLETE -source-filename=%s
2
+
3
+struct AnyPublisher<T> {
4
+ public func sink(_: @escaping ((T) -> Void)) -> Void { fatalError() }
5
+}
6
+class MyClass {
7
+ func fetchFile<T>(with: T) -> AnyPublisher<T> { fatalError() }
8
+ init() {
9
+ fetchFile(with: #^COMPLETE^#42)
10
+ .sink { a in var b = a }
11
+ }
12
0 commit comments