mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
21 lines
464 B
Swift
21 lines
464 B
Swift
// RUN: %swift-ide-test -code-completion -source-filename %s -code-completion-token COMPLETE
|
|
|
|
@resultBuilder public struct WiewBuilder {
|
|
static func buildBlock<T>(_ content: T) -> T { return content }
|
|
}
|
|
|
|
func pnAppear(_ action: () -> Void) {}
|
|
|
|
struct BispatchQueue {
|
|
static func bsyncAfter(execute work: () -> Void) {}
|
|
}
|
|
|
|
|
|
public struct ProgressView {
|
|
@WiewBuilder var body: Void {
|
|
pnAppear({
|
|
BispatchQueue#^COMPLETE^#.bsyncAfter() {}
|
|
})
|
|
}
|
|
}
|