mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
Put back explicit var lookup disabling
This commit is contained in:
parent
eeed1bf41c
commit
4d90e98e7e
1 changed files with 2 additions and 2 deletions
|
@ -10728,8 +10728,8 @@ 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, (BfResolveTypeRefFlags)(BfResolveTypeRefFlag_IgnoreLookupError | BfResolveTypeRefFlag_AllowGlobalContainer));
|
BfType* type = mModule->ResolveTypeRef(nameLeft, NULL, BfPopulateType_Declaration, (BfResolveTypeRefFlags)(BfResolveTypeRefFlag_IgnoreLookupError | BfResolveTypeRefFlag_AllowGlobalContainer));
|
||||||
//if ((type != NULL) && (type->IsVar()) && (nameLeft->Equals("var")))
|
if ((type != NULL) && (type->IsVar()) && (nameLeft->Equals("var")))
|
||||||
//type = NULL;
|
type = NULL;
|
||||||
|
|
||||||
if (type != NULL)
|
if (type != NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue