[Issue 20324] Calling __traits(getUnitTests) on a template causes compiler segfault
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Nov  3 22:05:39 UTC 2019
    
    
  
https://issues.dlang.org/show_bug.cgi?id=20324
--- Comment #1 from Basile-z <b2.temp at gmx.com> ---
looks fixed in 2.089.0, but a reduced case shows it's definitevely not:
---
module still;
template Foo() {
    unittest {}
}
void bar()
{
    __traits(getUnitTests, Foo);
}  
---
2.089 emits an error when trying to get the test for bar, while the segfault is
for the template.
--
    
    
More information about the Digitalmars-d-bugs
mailing list