[Issue 6565] out 2D fixed-sized array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Apr 28 05:08:12 PDT 2012


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



--- Comment #4 from Stewart Gordon <smjg at 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: -------


More information about the Digitalmars-d-bugs mailing list