https://issues.dlang.org/show_bug.cgi?id=23272 --- Comment #1 from johanengelen at weka.io --- Workaround is to use `is` instead of `==`. (`assert (s.caseOfTemplated!(a => typeid(a)) is typeid(string));`) --