DMD 1.027 and 2.011 releases
Walter Bright
newshound1 at digitalmars.com
Tue Feb 19 16:22:23 PST 2008
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 :-(
More information about the Digitalmars-d-announce
mailing list