1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed failed explicit indexer interface conformance declaration

This commit is contained in:
Brian Fiete 2020-08-05 05:35:21 -07:00
parent c3bc2bc67c
commit b50fbdb51d

View file

@ -6608,6 +6608,12 @@ BfAstNode* BfReducer::ReadTypeMember(BfAstNode* node, int depth)
int blockAfterIdx = mVisitorPos.mReadPos + 1;
BfAstNode* blockAfterPos = nameIdentifier;
BfPropertyDeclaration* propertyDeclaration = NULL;
if ((indexerThisToken != NULL) && (mVisitorPos.GetNext() != indexerThisToken))
{
indexerThisToken = NULL;
}
if (indexerThisToken != NULL)
{
auto indexerDeclaration = mAlloc->Alloc<BfIndexerDeclaration>();