October 06, 2006 [Issue 404] New: Regression: missing source location in "Error: array initializers as expressions are not allowed" | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=404 Summary: Regression: missing source location in "Error: array initializers as expressions are not allowed" Product: D Version: 0.168 Platform: PC OS/Version: Linux Status: NEW Keywords: diagnostic Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: thomas-dloop@kuehne.cn # # int main(){ # char a[1] = [int.max:0,1]; # return 0; # } # dmd-0.167: a.d(3): variable sample.main.a is not a static and cannot have static initializer dmd-0.168: Error: array initializers as expressions are not allowed test case: http://dstress.kuehne.cn/nocompile/array_initialization_13.d -- |
October 10, 2006 [Issue 404] Regression: missing source location in "Error: array initializers as expressions are not allowed" | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=404 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2006-10-10 03:31 ------- Fixed DMD 0.169 -- |
Copyright © 1999-2021 by the D Language Foundation