Mercurial > projects > ldc
diff lphobos/internal/objectimpl.d @ 126:a2c2c3c1a73d trunk
[svn r130] fixed #28
author | lindquist |
---|---|
date | Wed, 28 Nov 2007 05:04:38 +0100 |
parents | fd7ad91fd713 |
children | 373489eeaf90 |
line wrap: on
line diff
--- a/lphobos/internal/objectimpl.d Wed Nov 28 04:52:35 2007 +0100 +++ b/lphobos/internal/objectimpl.d Wed Nov 28 05:04:38 2007 +0100 @@ -110,8 +110,7 @@ */ char[] toString() { - //return this.classinfo.name; - return "object.Object (no classinfo yet)"; + return this.classinfo.name; } /** @@ -137,8 +136,7 @@ // BUG: this prevents a compacting GC from working, needs to be fixed //return cast(int)cast(void *)this - cast(int)cast(void *)o; - //throw new Error("need opCmp for class " ~ this.classinfo.name); - throw new Error("need opCmp for class unknown object.Object (no classinfo yet)"); + throw new Error("need opCmp for class " ~ this.classinfo.name); } /**