On Tuesday, 4 December 2012 at 16:24:27 UTC, Minas Mina wrote:
Isn't it possible to have parentheses optional only for UFCS?

E.g.

Allow:
I 5.writeln

Dissallow:

void f()
{
        writeln("hi");
}

f; // this currently works


I don't know if this is possible to implement.

+1
5.writeln is going to be translated by the compiler as writeln(5) anyway, so I think this is a great compromise.

Reply via email to