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


Walter Bright <bugzi...@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzi...@digitalmars.com


--- Comment #9 from Walter Bright <bugzi...@digitalmars.com> 2012-01-20 
12:57:27 PST ---
(In reply to comment #0)
> The following invalid code is accepted:
> import std.stdio;
> void main() {
>     real[2] foo = [1.0L];
>     writeln(foo);  // [1, 0]
> }

Running it gives:

object.Exception@src\rt\arraycat.d(31): lengths don't match for array copy

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

Reply via email to