Basic check if all methods declared in interface are also defined in class.
All checks were successful
The build was successful.

This commit is contained in:
2019-03-20 09:24:30 +01:00
parent 3d23d43040
commit 7b1ed59f41
3 changed files with 18 additions and 3 deletions

View File

@@ -4220,7 +4220,7 @@ static sxi32 VmByteCodeExec(
/* Trying to implement a class */
PH7_VmThrowError(&(*pVm), PH7_CTX_ERR, "Class '%z' cannot implement a class '%z'", &pClass->sName.zString, &apImplements->zString);
}
rc = PH7_ClassImplement(pClass, pBase);
rc = PH7_ClassImplement(pVm, pClass, pBase);
if(rc != SXRET_OK) {
break;
}