I have a strange behavior within swift playground.
When I enter this lines of code
println("test 1" + "test 2" + "test 3" + "test 4") //compiles
println("test 1" + "test 2" + "test 3" + "test 4" + "test 5") //compiles
println("test 1" + "test 2" + "test 3" + "test 4" + "test 5" + "test 6") //error!
The last line of code does not compile. The error is:
Expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions
Am I doing something wrong, or is this some kind of a bug? It seems like the limit for println() is 5 string concatenations?