Created
August 10, 2016 19:55
-
-
Save cassdeckard/bb0e09bf10ea31f4c30172101487d079 to your computer and use it in GitHub Desktop.
lldb crashes when I try to make Dictionary parameter in a closure a "var"
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
| //: Playground - noun: a place where people can play | |
| import Foundation | |
| // OK: | |
| var test: ([Int : Int], Int) -> [Int : Int] = { (x, y) in x } | |
| // CRASH: | |
| //var test2: ([Int : Int], Int) -> [Int : Int] = { (var x, y) in x } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment