mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
16 lines
338 B
Swift
16 lines
338 B
Swift
// RUN: %batch-code-completion -enable-experimental-concurrency
|
|
|
|
func makeURL(withExtension ext: Int?) -> Int? {
|
|
return nil
|
|
}
|
|
|
|
func test() {
|
|
let calculatorContext: Int? = {
|
|
guard let url#^COMPLETE^# = makeURL(withExtension: 1),
|
|
let script = url else {
|
|
return nil
|
|
}
|
|
}()
|
|
// COMPLETE-NOT: Begin completions
|
|
}
|