Created
June 11, 2014 14:28
-
-
Save mbrandonw/df260f19872a9c3c74e8 to your computer and use it in GitHub Desktop.
Uninitialized string
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
vWelcome to Swift! Type :help for assistance. | |
a 1> var x:String | |
x: String = { | |
core = { | |
_baseAddress = Builtin.RawPointer = 0x0000000000000000 | |
_countAndFlags = 0 | |
_owner = None | |
} | |
} | |
2> "test \(x)" | |
fatal error: Can't unwrap Optional.None | |
Execution interrupted. Enter Swift code to recover and continue. | |
Enter LLDB commands to investigate (type :help for assistance.) | |
3> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Optional? That's strange.