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

--- Comment #4 from Ketmar Dark <[email protected]> ---
yeah. but the frontend will check for conflicting overloads only when `foo()`
will be called. i guess this was done to gain some compilation speed by not
checking each symbol against other symbols (O(n^2), i think).

but this can be done differently, by using a hash table of all emited mangled
names. this should be amortized O(n), and virtually painless.

i mean, yes, the frontend should check for conflicting overloads even if they
weren't called anywhere.

--

Reply via email to