Bug 13505 – No line number with void array in class

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-09-20T12:43:00Z
Last change time
2015-02-18T03:37:19Z
Keywords
diagnostic, pull
Assigned to
nobody
Creator
bearophile_hugs

Comments

Comment #0 by bearophile_hugs — 2014-09-20T12:43:22Z
class Foo { void[10] x; } void main() {} dmd 2.067alpha gives no line number: Error: void does not have a default initializer
Comment #1 by andrea.9940 — 2014-09-20T19:28:47Z
*** Issue 13513 has been marked as a duplicate of this issue. ***
Comment #2 by k.hara.pg — 2014-09-21T09:33:37Z
Comment #3 by github-bugzilla — 2014-09-25T05:46:13Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/bf2c2f1a1047f969ec645133205de6063fb24842 fix Issue 13505 - No line number with void array in class https://github.com/D-Programming-Language/dmd/commit/d477ac7853ef94b386ff2568780e333f991c90c3 Merge pull request #4009 from 9rnsr/fix13505 Issue 13505 - No line number with void array in class
Comment #4 by github-bugzilla — 2015-02-18T03:37:19Z