mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 08:30:47 +03:00
merge
This commit is contained in:
commit
3a2e29d434
2 changed files with 2 additions and 2 deletions
|
@ -547,7 +547,7 @@ static void init_class_vtbl_initializer(ClassDeclaration* cd)
|
|||
FuncDeclaration* fd = dsym->isFuncDeclaration();
|
||||
assert(fd);
|
||||
|
||||
if (fd->isAbstract())
|
||||
if (fd->isAbstract() || (cd->isAbstract() && !fd->fbody))
|
||||
{
|
||||
sinits[k] = getNullPtr(getVoidPtrType());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue