Mercurial > projects > ldc
diff lphobos/internal/objectimpl.d @ 72:d7e764e62462 trunk
[svn r76] Fixed: TypeInfo for structs.
Fixed: PostExp was unable to allocate storage for parameters.
Fixed: Many types of functions and delegates were broken.
Misc cleanups.
author | lindquist |
---|---|
date | Mon, 29 Oct 2007 03:28:12 +0100 |
parents | 2c3cd3596187 |
children | b706170e24a9 |
line wrap: on
line diff
--- a/lphobos/internal/objectimpl.d Sun Oct 28 19:48:57 2007 +0100 +++ b/lphobos/internal/objectimpl.d Mon Oct 29 03:28:12 2007 +0100 @@ -937,6 +937,8 @@ ClassInfo info; } ++/ + class TypeInfo_Struct : TypeInfo { char[] toString() { return name; } @@ -987,7 +989,7 @@ return c; } - int compare(void *p2, void *p1) + int compare(void *p1, void *p2) { int c = 0; @@ -1029,6 +1031,8 @@ uint m_flags; } +/+ + class TypeInfo_Tuple : TypeInfo { TypeInfo[] elements;