4 ms·
The proposed syntax creates ambiguity between immutable arrays and mutable arrays containing only a single mutable array.
by ryanpetrich 12y ago
The proposed syntax creates ambiguity between immutable arrays and mutable arrays containing only a single mutable array.
- skrebbel 12y agoA solvable ambiguity (nested C++ template parameters, anyone?) and besides, it was just an example. I don't think the author really meant to "propose new syntax", but rather say "this is a real problem that needs solving and I'm sure the Swift team can come up with syntax for it if they want it to be succinct".