mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[SourceKit][PlaceholderExpand] Avoid function signatures when expanding trailing closures of ()->(). rdar://21879249
This commit is contained in:
@@ -49,3 +49,8 @@ func f() {
|
||||
store.requestAccessToEntityType(<#T##entityType: EKEntityType##EKEntityType#>, completion: nil)
|
||||
}
|
||||
// CHECK: store.requestAccessToEntityType(EKEntityType, completion: nil)
|
||||
|
||||
func f1() {
|
||||
bar(<#T##d: () -> ()##() -> ()#>)
|
||||
}
|
||||
// CHECK-NOT: bar { () -> () in
|
||||
|
||||
Reference in New Issue
Block a user