https://issues.dlang.org/show_bug.cgi?id=14894
--- Comment #12 from Martin Nowak <c...@dawg.eu> --- (In reply to uplink.coder from comment #11) > 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 ? Yes, source code for lambdas and mixins should be available in situations where we use such numbers, so either of them could be hashed. Literal source code is only available during parsing, so hashes would need to be computed eagerly during the performance sensitive lexing. A hash on the AST could be computed lazily. We already have `expressionHash` in dmd, but that depends on allocation addresses. --