diff lphobos/internal/objectimpl.d @ 54:28e99b04a132 trunk

[svn r58] Fixed cond expression resulting in a non-basic type. Fixed identity expression for dynamic arrays. Revamped the system to keep track of lvalues and rvalues and their relations. Typedef declaration now generate the custom typeinfo. Other bugfixes.
author lindquist
date Wed, 24 Oct 2007 01:37:34 +0200
parents 0c77619e803b
children 2c3cd3596187
line wrap: on
line diff
--- a/lphobos/internal/objectimpl.d	Tue Oct 23 07:16:02 2007 +0200
+++ b/lphobos/internal/objectimpl.d	Wed Oct 24 01:37:34 2007 +0200
@@ -433,8 +433,6 @@
     OffsetTypeInfo[] offTi() { return null; }
 }
 
-/+
-
 class TypeInfo_Typedef : TypeInfo
 {
     char[] toString() { return name; }
@@ -455,7 +453,7 @@
     size_t tsize() { return base.tsize(); }
     void swap(void *p1, void *p2) { return base.swap(p1, p2); }
 
-    TypeInfo next() { return base.next(); }
+    TypeInfo next() { return base; }
     uint flags() { return base.flags(); }
     void[] init() { return m_init.length ? m_init : base.init(); }
 
@@ -468,6 +466,8 @@
 {
 }
 
+/+
+
 class TypeInfo_Pointer : TypeInfo
 {
     char[] toString() { return m_next.toString() ~ "*"; }