The following:
int x;
extern int x; // ok
typedef int INT;
extern INT x; // ok
extern char x; // should fail but does not
The same goes for functions and their types.
Comment #1 by bugzilla — 2021-09-18T09:04:18Z
An approach to solve this would be something like adding a hash table for collisions similar to tagSymTab for tag collisions.
Comment #2 by bugzilla — 2022-02-10T04:27:59Z
The problem is noted in handleSymbolRedeclarations() in dsymbol.d
Comment #3 by robert.schadek — 2024-12-13T19:18:26Z