mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-27 15:50:19 +02:00
[svn r117] Initial working implementation of interfaces.
Groundwork for all the different types of class/interface casts laid out.
This commit is contained in:
@@ -879,8 +879,6 @@ class TypeInfo_Class : TypeInfo
|
||||
ClassInfo info;
|
||||
}
|
||||
|
||||
/+
|
||||
|
||||
class TypeInfo_Interface : TypeInfo
|
||||
{
|
||||
char[] toString() { return info.name; }
|
||||
@@ -944,8 +942,6 @@ class TypeInfo_Interface : TypeInfo
|
||||
ClassInfo info;
|
||||
}
|
||||
|
||||
+/
|
||||
|
||||
class TypeInfo_Struct : TypeInfo
|
||||
{
|
||||
char[] toString() { return name; }
|
||||
@@ -1038,8 +1034,6 @@ class TypeInfo_Struct : TypeInfo
|
||||
uint m_flags;
|
||||
}
|
||||
|
||||
/+
|
||||
|
||||
class TypeInfo_Tuple : TypeInfo
|
||||
{
|
||||
TypeInfo[] elements;
|
||||
@@ -1102,8 +1096,6 @@ class TypeInfo_Tuple : TypeInfo
|
||||
}
|
||||
}
|
||||
|
||||
+/
|
||||
|
||||
class TypeInfo_Const : TypeInfo
|
||||
{
|
||||
char[] toString() { return "const " ~ base.toString(); }
|
||||
|
||||
Reference in New Issue
Block a user