> On Oct 24, 2014, at 8:31 PM, Rick Mann <rm...@latencyzero.com> wrote: > > Anyway, once I realized what was going on, I was able to get the behavior I > wanted. It's not perfect, because now I have to declare my function types > like this to get some documentation in them. I want to document at the > function declaration, not at every call site. > > typealias SyncRequestHandler = (/*request:*/ HTTPMessage) -> ResponseTuple; > typealias SendResponseFunc = (/*responseData:*/ NSData?, > /*responseHeaders:*/ HTTPHeaders?) -> (); > > You can't prefix these names with "_" in the current compiler.
Did you file a bug report? Allowing `_` to suppress the names here sounds like a good idea to me. -- Greg Parker gpar...@apple.com Runtime Wrangler _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com