mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-18 16:10:26 +02:00
Fixed explicit anonymous static field lookup
This commit is contained in:
parent
534dc7fb22
commit
b017ccc2e1
1 changed files with 1 additions and 1 deletions
|
@ -9695,7 +9695,7 @@ void BfExprEvaluator::LookupQualifiedStaticField(BfAstNode* nameNode, BfIdentifi
|
||||||
{
|
{
|
||||||
// Lookup left side as a type
|
// Lookup left side as a type
|
||||||
{
|
{
|
||||||
BfType* type = mModule->ResolveTypeRef(nameLeft, NULL, BfPopulateType_Declaration, BfResolveTypeRefFlag_IgnoreLookupError);
|
BfType* type = mModule->ResolveTypeRef(nameLeft, NULL, BfPopulateType_Declaration, (BfResolveTypeRefFlags)(BfResolveTypeRefFlag_IgnoreLookupError | BfResolveTypeRefFlag_AllowGlobalContainer));
|
||||||
if (type != NULL)
|
if (type != NULL)
|
||||||
{
|
{
|
||||||
BfTypedValue lookupType;
|
BfTypedValue lookupType;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue