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


Jonathan M Davis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #1 from Jonathan M Davis <[email protected]> 2012-09-15 20:50:14 
PDT ---
According to the spec, this code shouldn't compile in the first place, since
there are multiple types being returned. To quote the spec:

> If there are mul�ti�ple Re�turn�State�ments, the types of them must match 
> ex�actly. If there are no Re�turn�State�ments, the re�turn type is in�ferred 
> to be void.

So, depending on what's causing the corruption, it doesn't need to be fixed but
rather the compiler needs to be fixed so that it this example outright fails to
compile.

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

Reply via email to