mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-27 09:03:15 +01:00
D2 changes!
Removed druntime from the repository again.. Sorry :/ Updated the druntime port a bit, now requires druntime from trunk. Added info in runtime/README on how to get druntime from trunk. Added patch to add LDC support to druntime. Removed some debug logging from D2 builds. Fixed broken typeinfo for const/invariant in D2.
This commit is contained in:
@@ -230,12 +230,16 @@ int Type::builtinTypeInfo()
|
||||
|
||||
int TypeBasic::builtinTypeInfo()
|
||||
{
|
||||
return 1;
|
||||
return !mod;
|
||||
}
|
||||
|
||||
int TypeDArray::builtinTypeInfo()
|
||||
{
|
||||
#if DMDV2
|
||||
return !mod && next->isTypeBasic() != NULL && !next->mod;
|
||||
#else
|
||||
return next->isTypeBasic() != NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
/* ========================================================================= */
|
||||
|
||||
Reference in New Issue
Block a user