Files
swift-mirror/validation-test/IDE/crashers_2_fixed/0036-callee-locator-with-null-anchor.swift
Alex Hoppen 32eff21977 [IDE] Remove "Begin completions" and "End completions" from test cases
These test lines weren't actually providing any value and were annoying to write. Let's jut remove them.
2023-03-22 09:07:17 -07:00

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)?#];