On 2012-07-09 08:39, Jonathan M Davis wrote:

lambdas are a bit older than that IIRC, and I don't think that UFCS actually
affects the lexer or parser. Yes, changes are still made, but they're
increasingly rare, and most of the stuff being changed is on the semantic level
(most of which is bug fixes). So, out of all of the parts of the compiler to
duplicate, those are the least likely to have to have major changes made to
them later (especially the lexer).

I'm pretty sure UFCS affects lexing or parsing. How else would this be legal:

4.foo();

--
/Jacob Carlborg

Reply via email to