August 24, 2018 [Issue 19187] New: __traits(compiles) segfaults on access to partially undefined overload set from import | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19187 Issue ID: 19187 Summary: __traits(compiles) segfaults on access to partially undefined overload set from import Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: default_357-line@yahoo.de Repro: $ cat test1.d import test2; enum test = __traits(compiles, test2.foo); $ cat test2.d template test() { } alias foo = test; alias foo = NONEXISTENT; $ dmd test1.d Segmentation fault (core dumped) $ -- |
Copyright © 1999-2021 by the D Language Foundation