mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Reverted bad change [506]. Added test case for remaining bug.
This commit is contained in:
@@ -640,7 +640,6 @@ struct TypeClass : Type
|
||||
int checkBoolean();
|
||||
TypeInfoDeclaration *getTypeInfoDeclaration();
|
||||
int hasPointers();
|
||||
int builtinTypeInfo();
|
||||
|
||||
type *toCtype();
|
||||
|
||||
|
||||
@@ -224,11 +224,6 @@ int TypeDArray::builtinTypeInfo()
|
||||
return next->isTypeBasic() != NULL;
|
||||
}
|
||||
|
||||
int TypeClass::builtinTypeInfo()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* ========================================================================= */
|
||||
|
||||
/***************************************
|
||||
|
||||
9
tests/mini/missingti.d
Normal file
9
tests/mini/missingti.d
Normal file
@@ -0,0 +1,9 @@
|
||||
class MyClass
|
||||
{
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
MyClass[] l;
|
||||
l.sort;
|
||||
}
|
||||
Reference in New Issue
Block a user