mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-23 16:23:14 +01:00
Update to b52c07.
Also includes latest druntime changes.
This commit is contained in:
@@ -1323,6 +1323,10 @@ bool Expression::checkPostblit(Scope *sc, Type *t)
|
||||
t = t->baseElemOf();
|
||||
if (t->ty == Tstruct)
|
||||
{
|
||||
// Bugzilla 11395: Require TypeInfo generation for array concatenation
|
||||
if (!t->vtinfo)
|
||||
t->getTypeInfo(sc);
|
||||
|
||||
StructDeclaration *sd = ((TypeStruct *)t)->sym;
|
||||
if (sd->postblit)
|
||||
{
|
||||
@@ -12608,9 +12612,9 @@ Expression *CatExp::semantic(Scope *sc)
|
||||
{
|
||||
type = type->nextOf()->toHeadMutable()->arrayOf();
|
||||
}
|
||||
if (tb->nextOf())
|
||||
if (Type *tbn = tb->nextOf())
|
||||
{
|
||||
checkPostblit(sc, tb->nextOf());
|
||||
checkPostblit(sc, tbn);
|
||||
}
|
||||
#if 0
|
||||
e1->type->print();
|
||||
|
||||
Submodule runtime/druntime updated: cb3f03ff27...9ffca792ac
Reference in New Issue
Block a user