Why does `+=` not work with implicitly unwrapped optionals

Viewed 80

Why does += not work with implicitly unwrapped optionals, for instance:

var count: Int! = 10
count = count + 10 // This works
count += 10 // this does not work

Why isn't the optional implicitly unwrapped, like the case of count = count + 10 ?

1 Answers
Related