June 14, 2019 [Issue 19967] New: segmentation fault when auto ref with default values | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=19967 Issue ID: 19967 Summary: segmentation fault when auto ref with default values Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: qs.il.paperinik@gmail.com Compiling this code void f(Ts...)(auto ref Ts args = Ts.init) { } void main() { int x; f(x); } ends the compiler with a segmentation fault. -- |
Copyright © 1999-2021 by the D Language Foundation