https://issues.dlang.org/show_bug.cgi?id=14894
--- Comment #11 from uplink.co...@googlemail.com --- (In reply to Martin Nowak from comment #10) > (In reply to uplink.coder from comment #9) > > The way I see forward is to not use a number. > > But to disambiguate by a reproducible hash. > > Yes! What to hash though? Source code, tokens, parsed AST? Guess the latter > would remain identical even after reformatting which is a nice property (but > not an important one). We need AST-Node hashing anyhow. but that won't fix the .di files problem, as the hash will be different from the impl.... or does the source have to be available ? If it does then we stand a chance. This will also auto-magically de-duplicate lambdas with the same bodys. --