September 20, 2014 [Issue 13513] New: class with void array member generate anonymous error | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13513 Issue ID: 13513 Summary: class with void array member generate anonymous error Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: diagnostic Severity: enhancement Priority: P1 Component: DMD Assignee: nobody@puremagic.com Reporter: andrea.9940@gmail.com Compiling the following code with DMD v2.066.0 returns an error without the line where it is located. class A { void[1] x; } -------------- Error: void does not have a default initializer -- |
Copyright © 1999-2021 by the D Language Foundation