mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-13 21:07:01 +02:00
Fixed ClassReferenceExp codegen, handle self-referential literals.
This commit is contained in:
@@ -4369,6 +4369,8 @@ StructLiteralExp::StructLiteralExp(Loc loc, StructDeclaration *sd, Expressions *
|
||||
this->ctorinit = 0;
|
||||
#if IN_LLVM
|
||||
constType = NULL;
|
||||
this->inProgressMemory = NULL;
|
||||
this->globalVar = NULL;
|
||||
#endif
|
||||
this->origin = this;
|
||||
this->stageflags = 0;
|
||||
|
||||
Reference in New Issue
Block a user