Mercurial > projects > ddmd
changeset 92:0c891ec48515
Fixed another bug related to copy ctor
author | korDen |
---|---|
date | Mon, 30 Aug 2010 23:43:38 +0400 |
parents | 21a53563c840 |
children | df6d0f967680 |
files | dmd/ClassDeclaration.d |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);