# HG changeset patch # User korDen # Date 1283197418 -14400 # Node ID 0c891ec48515483b25f030d5686b8b34ebeddbed # Parent 21a53563c840f6440ead8af38598f005aed3f385 Fixed another bug related to copy ctor diff -r 21a53563c840 -r 0c891ec48515 dmd/ClassDeclaration.d --- a/dmd/ClassDeclaration.d Mon Aug 30 20:30:04 2010 +0100 +++ b/dmd/ClassDeclaration.d Mon Aug 30 23:43:38 2010 +0400 @@ -688,7 +688,7 @@ alignsize = PTRSIZE; } structsize = sc.offset; - Scope scsave = sc; /// a copy must be created? + Scope scsave = sc.clone(); sizeok = 0; foreach (Dsymbol s; members) { s.semantic(sc);