https://issues.dlang.org/show_bug.cgi?id=15371
--- Comment #1 from [email protected] --- something like that: https://github.com/Blumerline/dmd/commit/53419e71b93b0870574d93cbb83ebb7ccbb5e325 or maybe change in the Scope struct the module that indicates where the template should be instantiated (since it function that contains traits code will always be a template). --
