mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed global var '.Underlying' property
This commit is contained in:
parent
a7e927db82
commit
ba558394f1
1 changed files with 1 additions and 1 deletions
|
@ -20094,7 +20094,7 @@ BfTypedValue BfExprEvaluator::GetResult(bool clearResult, bool resolveGenericTyp
|
||||||
auto callFlags = mPropDefBypassVirtual ? BfCreateCallFlags_BypassVirtual : BfCreateCallFlags_None;
|
auto callFlags = mPropDefBypassVirtual ? BfCreateCallFlags_BypassVirtual : BfCreateCallFlags_None;
|
||||||
|
|
||||||
auto methodDef = methodInstance.mMethodInstance->mMethodDef;
|
auto methodDef = methodInstance.mMethodInstance->mMethodDef;
|
||||||
if ((methodDef->mMethodDeclaration == NULL) && (mPropTarget.mValue.IsConst()) &&
|
if ((methodDef->mMethodDeclaration == NULL) && (mModule->mBfIRBuilder->IsConstValue(mPropTarget.mValue)) &&
|
||||||
(methodDef->mName == "get__Underlying"))
|
(methodDef->mName == "get__Underlying"))
|
||||||
{
|
{
|
||||||
mBfEvalExprFlags = (BfEvalExprFlags)(mBfEvalExprFlags | BfEvalExprFlags_Comptime);
|
mBfEvalExprFlags = (BfEvalExprFlags)(mBfEvalExprFlags | BfEvalExprFlags_Comptime);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue