In converting some D1 code to D2, I noticed this doesn't seem to work 
anymore:

module mymodule;
class Foo()
{
    void bar(string s) {...}

    void foo()
    {
        string str = "hello";
        str.bar();
    }
}

In D1 that works fine, but in D2 (2.047) it complains that it can't find 
"mymodule.bar". That's a bit dissapointing, as I keep hoping member call 
syntax will eventually get expanded, not reduced. Is this a bug, or is there 
some reason for it?


Reply via email to