[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:32:47 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8312
Kenji Hara <k.hara.pg at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #7 from Kenji Hara <k.hara.pg at gmail.com> 2012-07-25 08:32:46 PDT ---
(In reply to comment #6)
> (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).
OK, closed.
--
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