mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
We might infer internal function labels as `$0` from a closure with which a variable is initialised. But we don’t want to print the function signature as `(_ $0: Int) -> Int` because `$0` is not a valid variable name to declare. So, in the case described above, only print the type. Fixes rdar://77462547
450 B
450 B