mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
AllowDuplicatesAttribute
This commit is contained in:
parent
2618b29daa
commit
8808da307f
13 changed files with 39 additions and 2 deletions
|
@ -2940,7 +2940,7 @@ BfTypedValue BfExprEvaluator::LookupIdentifier(BfAstNode* refNode, const StringI
|
|||
}
|
||||
}
|
||||
|
||||
if ((mModule->mCurMethodInstance == NULL) && (mModule->mCurTypeInstance->IsEnum()))
|
||||
if ((mModule->mCurMethodInstance == NULL) && (mModule->mCurTypeInstance != NULL) && (mModule->mCurTypeInstance->IsEnum()))
|
||||
{
|
||||
if (findName == "_")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue