Mercurial > projects > ldc
diff tango/tango/io/Buffer.d @ 137:ce7b81fb957f trunk
[svn r141] fixed more problems with classinfo
moved more IR state out of the AST classes
author | lindquist |
---|---|
date | Fri, 18 Jan 2008 16:42:16 +0100 |
parents | 0e28624814e8 |
children | aeddd4d533b3 |
line wrap: on
line diff
--- a/tango/tango/io/Buffer.d Thu Jan 17 03:15:12 2008 +0100 +++ b/tango/tango/io/Buffer.d Fri Jan 18 16:42:16 2008 +0100 @@ -165,9 +165,13 @@ this (IConduit conduit) { printf("Buffer.this(%p)\n", conduit); + printf("assert (conduit !is null);\n"); assert (conduit !is null); + printf("assert (conduit);\n", conduit); assert (conduit); + printf("this (conduit.bufferSize(%p));\n", conduit); + printf("cast(Object)conduit = %p\n", cast(Object)conduit); this (conduit.bufferSize); setConduit (conduit); @@ -226,6 +230,7 @@ this (uint capacity = 0) { + printf("Buffer.this(%p, %u)\n", this, capacity); setContent (new ubyte[capacity], 0); assert(this !is null); }