mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed lambda bind to delegate type with outer generic
This commit is contained in:
parent
58370d2c8c
commit
16cd9f7a77
4 changed files with 16 additions and 5 deletions
|
@ -2289,7 +2289,8 @@ void BfClosureType::Init(BfProject* bfProject)
|
|||
mTypeDef->mProject = bfProject;
|
||||
mTypeDef->mTypeCode = srcTypeDef->mTypeCode;
|
||||
mTypeDef->mName = system->GetAtom(srcTypeDef->mName->mString + mNameAdd);
|
||||
mTypeDef->mOuterType = srcTypeDef->mOuterType;
|
||||
// Purposely leave out 'mOuterType' - this fails if the outer type is generic
|
||||
//mTypeDef->mOuterType = srcTypeDef->mOuterType;
|
||||
mTypeDef->mNamespace = srcTypeDef->mNamespace;
|
||||
system->AddNamespaceUsage(mTypeDef->mNamespace, mTypeDef->mProject);
|
||||
mTypeDef->mHash = srcTypeDef->mHash;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue