I really want to keep empty subscript available as a generalized dereference/unwrap operator idiom. It is incredibly common to have wrapper or accessor types with a primary value (c.f. UnsafePointer.pointee
), and the result is a proliferation of .value
accessess. I'd like all of those to be spelled []
.
1 Like