4 ms·
`print((a + b + c) as String + n + d + e)` (I’m not sure of the precedence, that might need another pair of parens)
by amomchilov 2y ago
`print((a + b + c) as String + n + d + e)`
(I’m not sure of the precedence, that might need another pair of parens)
- floxy 2y agoInteresting. This: let a:String = "a" as String let b:String = "b" as String let c:String = "c" as String let d:String = "d" as String let e:String = "e" as String let n:Int = 11 as Int print((a + b + c) + n + d + e) ...has the long timeout, while: let a:String = "a" as String let b:String = "b" as String let c:String = "c" as String let d:String = "d" as String let e:String = "e" as String let n:Int = 11 as Int print((a + b + c) as String + n + d + e) ...fails pretty much instantaneously.