mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Clients should be able to handle closures without a valid `in` SourceLoc, let's avoid setting it to a recovery location. This avoids crashing in cases where we set an `in` loc that's after the closure's end loc.
3 lines
148 B
Swift
3 lines
148 B
Swift
// RUN: %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
|
|
{ k -> #^^#
|