On 5/18/13, Nick Sabalausky <[email protected]> wrote:
> Wouldn't it just generate a "function call matches multiple functions"
> error? If not, it definitely *should*.

It seems it doesn't:

-----
import std.stdio;

void remove(const(char*) filename)
{
    writeln("here");
}

class Boo
{
    import core.stdc.stdio;  // try commenting out
}

class Foo : Boo
{
    void foo()
    {
        remove("");
    }
}

void main()
{
    auto f = new Foo;
    f.foo();
}
-----
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to