[dmd-beta] dmd 2.063 beta 3
Andrej Mitrovic
andrej.mitrovich at gmail.com
Sat May 18 12:52:16 PDT 2013
On 5/18/13, Nick Sabalausky <bus_dmdbeta at semitwist.com> 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();
}
-----
More information about the dmd-beta
mailing list