https://issues.dlang.org/show_bug.cgi?id=16665

--- Comment #3 from Mathias LANG <[email protected]> ---
Right, it was a typo.

The case I encountered though, was triggered inside of druntime because the C
runtime I was targeting did not have a definition for 'FILE'.
As a result, the compiler hit a limit in the number of error (apparently 20).

Correct test case:
```
version (NonExistent)
{
    alias FILE = void*;
}
else
    static assert(0, "Unsupported platform");

FILE getSomething1();
FILE getSomething2();
FILE getSomething3();
FILE getSomething4();
FILE getSomething5();
FILE getSomething6();
FILE getSomething7();
FILE getSomething8();
FILE getSomething9();
FILE getSomething10();
FILE getSomething11();
FILE getSomething12();
FILE getSomething13();
FILE getSomething14();
FILE getSomething15();
FILE getSomething16();
FILE getSomething17();
FILE getSomething18();
FILE getSomething19();
FILE getSomething20();
```

This does not display the assert. Commenting one of the function does.

--

Reply via email to