Mercurial > projects > ddmd
diff dmd/FuncLiteralDeclaration.d @ 93:df6d0f967680
implemented a whole bunch of methods to make phobos 2.035 compile
and some additional ones I came across
author | Trass3r |
---|---|
date | Mon, 30 Aug 2010 22:50:30 +0200 |
parents | 2e2a5c3f943a |
children | e28b18c23469 |
line wrap: on
line diff
--- a/dmd/FuncLiteralDeclaration.d Mon Aug 30 23:43:38 2010 +0400 +++ b/dmd/FuncLiteralDeclaration.d Mon Aug 30 22:50:30 2010 +0200 @@ -37,7 +37,10 @@ override void toCBuffer(OutBuffer buf, HdrGenState* hgs) { - assert(false); + buf.writestring(kind()); + buf.writeByte(' '); + type.toCBuffer(buf, null, hgs); + bodyToCBuffer(buf, hgs); } override Dsymbol syntaxCopy(Dsymbol s)