mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
foo(_: 3) is equivalent to foo(3), so calling a function that has _ as an argument label (func foo(`_`: 3)) still requires the _ to be escaped. Before this patch, the compiler would suggest removing the `s, even though that changes behaviour. Fixes rdar://problem/31077797.