Browse Source

Fix build.

release/v0.1
Rafal Kupiec 4 years ago
parent
commit
b319e11c09
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
  1. 2
      engine/vm.c

2
engine/vm.c

@ -4159,7 +4159,7 @@ static sxi32 VmByteCodeExec(
PH7_VmThrowError(&(*pVm), PH7_CTX_ERR,
"Attempt to call parent class from non-inheritance instance of class '%z'", &pClass->sName);
}
if(pNos->iFlags == MEMOBJ_BASE) {
if(pNos->iFlags == MEMOBJ_BASEOBJ) {
pClass = pClass->pBase;
}
}

Loading…
Cancel
Save