www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - v137 not backward compatible

reply "Kris" <fu bar.com> writes:
void main()
{
        // v137 now requires 'static' on this class declaration
        class Foo
        {
                static Foo create()
                {
                        return new Foo; // error here
                }
        }
}



from create 
Oct 28 2005
parent reply Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kris schrieb am 2005-10-28:
 void main()
 {
         // v137 now requires 'static' on this class declaration
         class Foo
         {
                 static Foo create()
                 {
                         return new Foo; // error here
                 }
         }
 }



 from create 
Added to DStress as http://dstress.kuehne.cn/run/s/static_34_A.d http://dstress.kuehne.cn/run/s/static_34_B.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFDbtbi3w+/yD4P9tIRAi7pAJ0aen6kF7eElOH+noOYanE6VFG5rQCfZ0AP Rrny00Jsjcj3l4M9XQi9xTE= =qs9P -----END PGP SIGNATURE-----
Nov 06 2005
parent "Kris" <fu bar.com> writes:
Any word on this error?


"Thomas Kuehne" <thomas-dloop kuehne.cn> wrote in message 
news:2g1343-9nf.ln1 birke.kuehne.cn...
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1

 Kris schrieb am 2005-10-28:
 void main()
 {
         // v137 now requires 'static' on this class declaration
         class Foo
         {
                 static Foo create()
                 {
                         return new Foo; // error here
                 }
         }
 }



 from create
Added to DStress as http://dstress.kuehne.cn/run/s/static_34_A.d http://dstress.kuehne.cn/run/s/static_34_B.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFDbtbi3w+/yD4P9tIRAi7pAJ0aen6kF7eElOH+noOYanE6VFG5rQCfZ0AP Rrny00Jsjcj3l4M9XQi9xTE= =qs9P -----END PGP SIGNATURE-----
Nov 13 2005