1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 20:42:21 +02:00

Fixed unqualified static lookups in mixins

This commit is contained in:
Brian Fiete 2020-03-30 11:13:24 -07:00
parent 9933e4a353
commit a3020720c9
3 changed files with 10 additions and 3 deletions

View file

@ -12062,7 +12062,7 @@ BfTypedValue BfModule::GetThis()
if (checkMethodState->mMixinState != NULL)
{
BfTypedValue thisValue = checkMethodState->mMixinState->mTarget;
if (thisValue)
if (thisValue.HasType())
{
checkMethodState->mMixinState->mLastTargetAccessId = useMethodState->GetRootMethodState()->mCurAccessId++;
if (!thisValue.mType->IsValueType())