https://issues.dlang.org/show_bug.cgi?id=14679
Issue ID: 14679 Summary: Parse uninstantiated generic artifacts lazily Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: and...@erdani.com Unused generics (generic functions, classes, structs, templates, and mixins) need initially to be parsed only as balanced curlies - not even tokenized. They get tokenized, parsed, and semantically analyzed only upon first use. This allows libraries (such as Phobos itself) to provide functionality in templates at virtually no cost to their users. --