On Fri, 2018-06-01 at 11:20 -0400, Steven Schveighoffer via Digitalmars-d-learn wrote: > […] > That assertion is something that should never happen. Something is > wrong > with the type checking here. > > If you look up earlier, clearly the type id matches. There is > something > weird about that static if that is not working. > > Can you put in some more debug messages and see what the exact types > of > A and T are? Just put it right before the assert. >
The assert is in Phobos, so I am not sure I can. (Sorry to sound like a beginner at this, it is probably because I feel like one just at the moment!) -- Russel. =========================================== Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
signature.asc
Description: This is a digitally signed message part