Add a space after the =
. (=[
looks
too sad to be an operator.) It‘s probably
seeing =value
as a use of a (possible, but not
implemented) prefix operator.
Swift isn‘t entirely whitespace-agnostic like C... in particular, it
uses whitespace to distinguish prefix from postfix operators
(because ++i++
in C is a grammar oddity). But it‘s
not ridiculously strict about whitespace like Python either.