Silver allow closures to be called using the explicit syntax

Silver does not allow closures to be called using the explicit method syntax. I believe this should be allowed as its a core feature of swift that aids long term readability of code

    public class func performWithCompletion(completion: (response: Sugar.String? ) -> Void ) {
		completion(response: "") //does not work
		completion("") //works
	}

Thanks, logged as bugs://72086

bugs://72086 got closed with status fixed.

Awesome! Where can I find this release?

The fix all be in the next release (and probably in the next beta, which we’ll publish at the end of the week).

1 Like