Set base class only when $base called.
The build has failed.
Details
The build has failed.
Details
This commit is contained in:
parent
5cc4a5e48d
commit
5c176207e1
|
@ -4159,8 +4159,10 @@ static sxi32 VmByteCodeExec(
|
||||||
PH7_VmThrowError(&(*pVm), PH7_CTX_ERR,
|
PH7_VmThrowError(&(*pVm), PH7_CTX_ERR,
|
||||||
"Attempt to call parent class from non-inheritance instance of class '%z'", &pClass->sName);
|
"Attempt to call parent class from non-inheritance instance of class '%z'", &pClass->sName);
|
||||||
}
|
}
|
||||||
|
if(pNos->iFlags == MEMOBJ_BASE) {
|
||||||
pClass = pClass->pBase;
|
pClass = pClass->pBase;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
/* Extract attribute name first */
|
/* Extract attribute name first */
|
||||||
SyStringInitFromBuf(&sName, (const char *)SyBlobData(&pTos->sBlob), SyBlobLength(&pTos->sBlob));
|
SyStringInitFromBuf(&sName, (const char *)SyBlobData(&pTos->sBlob), SyBlobLength(&pTos->sBlob));
|
||||||
if(pInstr->iP2) {
|
if(pInstr->iP2) {
|
||||||
|
|
Loading…
Reference in New Issue