mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 02:45:25 +03:00
Reverted bad change [506]. Added test case for remaining bug.
This commit is contained in:
parent
53f8542719
commit
c31d07e23f
3 changed files with 9 additions and 6 deletions
|
@ -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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue