"errors" is not propagated, so an error in a template argument doesn't set this flag. At least it did not do it when I needed this functionality in https://github.com/D-Programming-Language/dmd/pull/2480