Closed JimRoepcke closed 7 years ago
let maybeTone: Any? = try j =>? "tone"
Executing that in the debugger with "tone": null results in:
"tone": null
(lldb) expr maybeTone (Any?) $R0 = some { payload_data_0 = 0x0000000108988130 __kCFNull payload_data_1 = 0x0000000000000000 payload_data_2 = 0x0000000000000000 instance_type = 0x0000000114bfb608 }
In 0.4.3, after let maybeTone: AnyObject? = try j =>? "tone", maybeTone would have been nil.
let maybeTone: AnyObject? = try j =>? "tone"
maybeTone
nil
Thanks for reporting, should be fixed now.
Executing that in the debugger with
"tone": null
results in:In 0.4.3, after
let maybeTone: AnyObject? = try j =>? "tone"
,maybeTone
would have beennil
.