1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Improved deferred type name generation

This commit is contained in:
Brian Fiete 2019-12-11 12:55:50 -08:00
parent fc063a65c1
commit aafefecfa2
5 changed files with 77 additions and 56 deletions

View file

@ -6343,6 +6343,11 @@ BfAstNode* BfReducer::ReadTypeMember(BfAstNode* node, int depth)
doExplicitInterface = true; // Qualified property
}
}
// Experimental 'more permissive' explicit interface check
if (endNodeIdx != -1)
doExplicitInterface = true;
if (doExplicitInterface)
{
auto prevEndNode = mVisitorPos.Get(endNodeIdx - 1);