On Friday, 20 May 2016 at 11:32:16 UTC, ZombineDev wrote:
IMO, the best way forward is:
+ The compiler should lower voldemort types, according to the
scheme that Steve suggested
(http://forum.dlang.org/post/nhkmo7$ob5$1...@digitalmars.com)
+ After that, during symbol generation (mangling) if a symbol
starts getting larger than some threshold (e.g. 800
characters), the mangling algorithm should detect that and bail
out by generating some unique id instead. The only valuable
information that the symbol must include is the module name and
location (line and column number) of the template instantiation.
Location info shouldn't be used. This will break things like
interface files and dynamic libraries.