mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
rdar://71566576 appears to have been fixed already. Still, add a test case for it to ensure we don’t hit it again.
4 lines
148 B
Swift
4 lines
148 B
Swift
// RUN: %swift-ide-test -code-completion -code-completion-token=COMPLETE -source-filename %s
|
|
|
|
if let item = ["a"].first(where: { #^COMPLETE^# }) {}
|