Skip to content

Instantly share code, notes, and snippets.

@garkhipov
Created April 24, 2015 16:05
Show Gist options
  • Save garkhipov/400f8cda71578ddf601d to your computer and use it in GitHub Desktop.
Save garkhipov/400f8cda71578ddf601d to your computer and use it in GitHub Desktop.
Swift 1.2 segmentation fault example
enum E {
case A
case B
}
let dict: [String: E?] = [
"a": nil,
"c": .A
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment