Thread overview
[Issue 6565] out 2D fixed-sized array
Apr 27, 2012
SomeDude
Apr 28, 2012
Stewart Gordon
Apr 28, 2012
Stewart Gordon
April 27, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6565


SomeDude <lovelydear@mailmetrash.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lovelydear@mailmetrash.com


--- Comment #1 from SomeDude <lovelydear@mailmetrash.com> 2012-04-27 10:03:12 PDT ---
What is the problem ? I think this is an appropriate error message.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 28, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6565


Stewart Gordon <smjg@iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg@iname.com


--- Comment #2 from Stewart Gordon <smjg@iname.com> 2012-04-28 04:40:58 PDT ---
(In reply to comment #1)
> What is the problem ? I think this is an appropriate error message.

How do you work that out???

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
April 28, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6565



--- Comment #4 from Stewart Gordon <smjg@iname.com> 2012-04-28 05:09:18 PDT ---
(In reply to comment #3)
> I may be completely wrong, but I would imagine {} is equivalent to {return;} which by default returns an int ??

Where do you get that idea from?

return;

returns void.  As does reaching the end of a function with void return type without hitting a return statement.

Back to your original comment, where do you see a 0 in the reporter's code, let alone an attempt to convert one to an int[2u][]?

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