DMD 1.027 and 2.011 releases

Extrawurst spam at extrawurst.org
Wed Feb 20 03:47:43 PST 2008


Walter Bright schrieb:
> Extrawurst wrote:
>> Wow what a huge changelist for the std lib, awesome !
>>
>> But i wonder about one thing:
>>
>> [CODE]
>>
>> class Foo {
>>   int foo() {
>>       synchronized(this){
>>           return 8;
>>       }
>>   }
>> }
>>
>> [/CODE]
>>
>> why does 2.011 in contrast to the previous 2.010 warn me with 
>> "warning - main.d(3): function main.Foo.foo no return at end of 
>> function" ? why is this a probem suddenly ? i have plenty of this 
>> warnings spit out in my project now ;(
>
> Because I reimplemented the flow analysis, and it looks like there's a 
> bug in it :-(

i made an entry in bugzilla


More information about the Digitalmars-d-announce mailing list