D 1.076 and 2.061 release
deadalnix
deadalnix at gmail.com
Thu Jan 3 08:08:58 PST 2013
On Thursday, 3 January 2013 at 11:38:53 UTC, deadalnix wrote:
> On Thursday, 3 January 2013 at 01:06:46 UTC, Walter Bright
> wrote:
>> On 1/2/2013 2:45 PM, deadalnix wrote:
>>> On Wednesday, 2 January 2013 at 07:01:02 UTC, Bernard Helyer
>>> wrote:
>>>> I am getting a whole _mess_ of "warning: statement not
>>>> reachable"
>>>> on everything after a final switch.
>>>
>>> I can confirm this. Freaking annoying (and not really
>>> convincing me that D is
>>> stable) !
>>
>> Please post example to bugzilla.
>
> http://d.puremagic.com/issues/show_bug.cgi?id=9263
Kenji made a pull request to fix this. I'm really thankful !
However, it is just to discover that this do not work :
struct Bar {}
auto foo(ref Bar bar) {}
foo(Bar()); // Now this is an error !
I still have code broken all over the place.
More information about the Digitalmars-d-announce
mailing list