Reverted bad change [506]. Added test case for remaining bug.

This commit is contained in:
Christian Kamm 2008-08-13 23:54:09 +02:00
parent 53f8542719
commit c31d07e23f
3 changed files with 9 additions and 6 deletions

View file

@ -640,7 +640,6 @@ struct TypeClass : Type
int checkBoolean(); int checkBoolean();
TypeInfoDeclaration *getTypeInfoDeclaration(); TypeInfoDeclaration *getTypeInfoDeclaration();
int hasPointers(); int hasPointers();
int builtinTypeInfo();
type *toCtype(); type *toCtype();

View file

@ -224,11 +224,6 @@ int TypeDArray::builtinTypeInfo()
return next->isTypeBasic() != NULL; return next->isTypeBasic() != NULL;
} }
int TypeClass::builtinTypeInfo()
{
return 1;
}
/* ========================================================================= */ /* ========================================================================= */
/*************************************** /***************************************

9
tests/mini/missingti.d Normal file
View file

@ -0,0 +1,9 @@
class MyClass
{
}
void main()
{
MyClass[] l;
l.sort;
}