mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-06-08 17:54:10 +02:00
Fix #318 by making a list of all seen template instances in a module for
singleobj compilation and then making sure they get emitted in their entirety.
This commit is contained in:
@@ -3106,7 +3106,7 @@ TemplateInstance::TemplateInstance(Loc loc, TemplateDeclaration *td, Objects *ti
|
||||
|
||||
#if IN_LLVM
|
||||
// LDC
|
||||
this->tinst = NULL;
|
||||
this->emittedInModule = NULL;
|
||||
this->tmodule = NULL;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user