Mercurial > projects > ldc
diff lphobos/internal/objectimpl.d @ 113:27b9f749d9fe trunk
[svn r117] Initial working implementation of interfaces.
Groundwork for all the different types of class/interface casts laid out.
author | lindquist |
---|---|
date | Sat, 24 Nov 2007 06:33:00 +0100 |
parents | 5b5194b25f33 |
children | fd7ad91fd713 |
line wrap: on
line diff
--- a/lphobos/internal/objectimpl.d Thu Nov 22 22:30:10 2007 +0100 +++ b/lphobos/internal/objectimpl.d Sat Nov 24 06:33:00 2007 +0100 @@ -879,8 +879,6 @@ ClassInfo info; } -/+ - class TypeInfo_Interface : TypeInfo { char[] toString() { return info.name; } @@ -944,8 +942,6 @@ ClassInfo info; } -+/ - class TypeInfo_Struct : TypeInfo { char[] toString() { return name; } @@ -1038,8 +1034,6 @@ uint m_flags; } -/+ - class TypeInfo_Tuple : TypeInfo { TypeInfo[] elements; @@ -1102,8 +1096,6 @@ } } -+/ - class TypeInfo_Const : TypeInfo { char[] toString() { return "const " ~ base.toString(); }