September 19, 2013 dmd segfaults on nested template instantiation (eg A!(A!(int)) ) | ||||
---|---|---|---|---|
| ||||
Attachments:
| I just filed a bug report ( http://d.puremagic.com/issues/show_bug.cgi?id=11067) Is there a workaround that keeps same syntax for user code? Use case: i'm generating those from swig(+modifications to map C++ templates to D templates) so I can't factor the template bodies for different template instantiations into a single definition. ---- A!(A!(int)) detections; struct A(T) if(is(T==int)) {} struct A(T) if(is(T==A!(int))) {} ---- |
Copyright © 1999-2021 by the D Language Foundation