D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 13505 - No line number with void array in class
Summary: No line number with void array in class
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 major
Assignee: No Owner
URL:
Keywords: diagnostic, pull
: 13513 (view as issue list)
Depends on:
Blocks:
 
Reported: 2014-09-20 12:43 UTC by bearophile_hugs
Modified: 2015-02-18 03:37 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bearophile_hugs 2014-09-20 12:43:22 UTC
class Foo {
    void[10] x;
}
void main() {}


dmd 2.067alpha gives no line number:

Error: void does not have a default initializer
Comment 1 badlink 2014-09-20 19:28:47 UTC
*** Issue 13513 has been marked as a duplicate of this issue. ***
Comment 3 github-bugzilla 2014-09-25 05:46:13 UTC
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