1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Improved static indexer support

This commit is contained in:
Brian Fiete 2020-12-05 04:29:27 -08:00
parent 5096e65fc7
commit b5064536e0
4 changed files with 27 additions and 12 deletions

View file

@ -9566,8 +9566,8 @@ BfType* BfModule::ResolveInnerType(BfType* outerType, BfIdentifierNode* identifi
{
BfDirectStrTypeReference typeRef;
typeRef.Init(identifier->ToString());
auto type = ResolveInnerType(outerType, &typeRef, populateType, ignoreErrors);
// There is no ref node so we ignore errors
auto type = ResolveInnerType(outerType, &typeRef, populateType, /*ignoreErrors*/true);
return type;
}