mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
These test lines weren't actually providing any value and were annoying to write. Let's jut remove them.
10 lines
352 B
Swift
10 lines
352 B
Swift
// RUN: %target-swift-ide-test --code-completion --code-completion-token COMPLETE --source-filename %s | %FileCheck %s
|
|
|
|
func foo(completionHandler completion: (@Sendable (Bool) -> Void)? = nil) {}
|
|
|
|
func test() {
|
|
foo(completionHandler: #^COMPLETE^#nil)
|
|
}
|
|
|
|
// CHECK-DAG: Literal[Nil]/None/TypeRelation[Convertible]: nil[#(@Sendable (Bool) -> Void)?#];
|