mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed errors during qualified static field reference
This commit is contained in:
parent
c0dd9b0e09
commit
71f677d902
7 changed files with 25 additions and 26 deletions
|
@ -9519,11 +9519,7 @@ void BfExprEvaluator::LookupQualifiedStaticField(BfAstNode* nameNode, BfIdentifi
|
|||
{
|
||||
// Lookup left side as a type
|
||||
{
|
||||
BfType* type = NULL;
|
||||
{
|
||||
SetAndRestoreValue<bool> prevIgnoreErrors(mModule->mIgnoreErrors, true);
|
||||
type = mModule->ResolveTypeRef(nameLeft, NULL, BfPopulateType_Declaration, BfResolveTypeRefFlag_AllowRef);
|
||||
}
|
||||
BfType* type = mModule->ResolveTypeRef(nameLeft, NULL, BfPopulateType_Declaration, BfResolveTypeRefFlag_IgnoreLookupError);
|
||||
if (type != NULL)
|
||||
{
|
||||
BfTypedValue lookupType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue