davidl wrote:
After tweaking dmd a bit litte, i get the dotexp overloading work.

class c
{

    B opDotExp(char[] methodname,...)
    {
        writefln("god it works ", methodname);
      return new B();
    }

it generates the output:
god it works dynamicmethod
god it works qq
5

Any comments? Do you like this feature?

That's very impressive. How did you do it? Are the syntax and semantic passes still independent?

Reply via email to