Things that make writing a clean binding system more difficult
Jacob Carlborg via Digitalmars-d
digitalmars-d at puremagic.com
Thu Aug 4 04:41:00 PDT 2016
On 2016-07-28 10:33, Ethan Watson wrote:
> 4) Forward declaring a function prototype means I can never declare that
> function elsewhere (say, for example, with a mixin)
You mean like this:
import std.stdio;
void foo();
void foo()
{
writeln("asd");
}
void main()
{
foo();
}
That works for me [1]. It was reported by Manu and fixed in 2012 [2].
[1] https://dpaste.dzfl.pl/c6b9355158cf
[2] https://issues.dlang.org/show_bug.cgi?id=8108
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list