Created
April 30, 2020 12:21
-
-
Save Lukasa/a659f63e7a6903d6c4a07407cb3c98d7 to your computer and use it in GitHub Desktop.
This file contains 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 x(_ body: () -> String) | |
func x(_ body: () -> Int) | |
func main() { | |
// do some stuff | |
x { | |
6 + "cabbages" // error is here | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment