https://issues.dlang.org/show_bug.cgi?id=17086
--- Comment #2 from [email protected] --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/90914abd5cec32199a5e81acf7d405366d8018df Fix issue 17086: DMD segfault with multiple template matches and invalid code The two conditions in mtype and expression can be simplified, because in the event of 'e' being , we end up with a segfault. Moreover, the code was just missing a couple of null checks. https://github.com/dlang/dmd/commit/13556d6dd5d877dea19059fd42c5bc2332875751 Merge pull request #6438 from mathias-lang-sociomantic/segv Fix issue 17086: DMD segfault with multiple template matches and invalid code --
