mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-30 23:20:40 +03:00
Adapt to changed TypeDelegate constructor signature
This commit is contained in:
parent
e9f40d8a1a
commit
7aed600440
2 changed files with 4 additions and 4 deletions
|
@ -401,9 +401,9 @@ static void DtoCreateNestedContextType(FuncDeclaration *fd) {
|
|||
t = DtoType(vd->type->pointerTo());
|
||||
} else if (isParam && (vd->storage_class & STClazy)) {
|
||||
// the type is a delegate (LL struct)
|
||||
Type *dt = TypeFunction::create(nullptr, vd->type, VARARGnone, LINK::d);
|
||||
dt = createTypeDelegate(dt);
|
||||
t = DtoType(dt);
|
||||
auto tf = TypeFunction::create(nullptr, vd->type, VARARGnone, LINK::d);
|
||||
auto td = createTypeDelegate(tf);
|
||||
t = DtoType(td);
|
||||
} else {
|
||||
t = DtoMemType(vd->type);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue