[Issue 8312] Too many error messages with a writeln of fixed size array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jul 25 08:27:33 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8312



--- Comment #6 from bearophile_hugs at eml.cc 2012-07-25 08:27:31 PDT ---
(In reply to comment #5)

> No, this is expected behavior. With the declaration `int[A.lehgth] B;`,
> A.length is interpreted to integer constant expression 1, then the type of B is
> compiled to int[1], it is _static_ array has 1 length, and the B's elements are
> initialized with int.init.

If you think so then close down this bug (and maybe Issue 8400 too).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list