View difference between Paste ID: L33cNA0B and hbuCA0rH
SHOW: | | - or go back to the newest paste.
1-
if let _temporary = otherVariable as? String {
1+
var t:String?
2-
2+
				var b:String?
3-
//do some work
3+
				if let foo = title {
4-
4+
					let bar = foo as! JSON
5-
} else {
5+
					t = bar.asString
6-
6+
				}
7-
//handle this condition
7+
				
8-
}
8+
				if let bar = body {
9-
9+
					let x = bar as! JSON
10-
//_temporary only exists in the scope of the optional binding and cannot be used outside of the optional binding
10+
					b = x.asString
11
				}