Extraneous whitespace between attribute name and '('

private (set) var context: Context
// Extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode

I am curious about why this is an error in Swift 6 language mode?

Is there is a technical reason for it?

1 Like

Seems to solve some potential ambiguity issues, but I'm sure someone can give a concrete example or refer to the tests.

2 Likes