Created
October 16, 2016 18:51
-
-
Save hamishknight/80b2753423e8ee33b562f5ee6d3b4f24 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func test(closure: () -> Void) { | |
let localClosure : @noescape () -> Void = { closure() } | |
localClosure() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment