blob: 4f9dd01fbb95a13b9009587ca16cfe2199f7c490 [file] [log] [blame]
// RUN: %target-swift-ide-test -code-completion -code-completion-token=COMPLETE -source-filename=%s | %FileCheck %s
// This used to take ~6 min to complete.
func testing() {
return (["a"] + [1].map { String($0) })
.map { $0 + "b" as String }
.filter { $0 != "" } #^COMPLETE^#
}
// CHECK: Decl[InfixOperatorFunction]/{{.*}}: [' ']+ {#[String]#}[#[String]#]; name=+ [String]