On Sat, 16 Aug 2014 02:20:27 +0200 Timon Gehr via Digitalmars-d <[email protected]> wrote:
> >> What is the problem? This passes DMD's parser. > > that is the problem: it shouldn't. > That's not what you said. that's what i mean. ok, i should write it clear. > There is nothing to be 'fixed'. The code is still rejected when it is > analysed. there is no sense to accept such code in parser anyway, and it can be easily fixed in grammar. ok, there is some sense with overloaded opAssign() and friends, but such code is awful and i believe that there is no sane reasons to allow such abomination.
signature.asc
Description: PGP signature
