Can we clarify the behavior of trailing closures for parameters of type Any
, as per @xwu’s comment here?
Edit:
The response from @Douglas_Gregor here:
does not seem to address what happens with labeled parameters of type Any
:
func foo(f: Any) { print(f) }
foo{ return }
• • •
Also, as a forum usability issue, the fact that the proposal thread has been locked makes it very difficult to quote posts from there for the purpose of responding here. It would be nice if there were a way to quote a post from a locked thread, even without being able to post in that thread.