[...]There shouldn't be any semantic difference between a=b, a = b, a= b and a =b as far as I can tell.
The problem is that the last two will give you an error in Playground.
I don't believe this problem is due to a semantics violation, but to an unfinished and buggy code parser in Playground (I still haven't tried compiling anything; I've been very busy lately, not much time left to learn Swift and experiment more with it).
This problem should go away in future releases of Xcode
----------
Playground is simply buggy as hell...
Yes it is. Sometimes it seems to have an internal process running lose that eats resources (CPU) like crazy! The solution is to close and restart Xcode.
BTW, what's the build number you are using? Is it the one released at WWDC?