Validate interface contracts against effective C3 implementations and support transitive interface checks
Build / AerScript (push) Successful in 39s

This commit is contained in:
2026-10-24 20:19:11 +02:00
parent c6e7151e72
commit 1026c8d525
4 changed files with 176 additions and 69 deletions
+1
View File
@@ -3568,6 +3568,7 @@ static sxi32 PH7_CompileClassInterface(ph7_gen_state *pGen) {
PH7_GenCompileError(pGen, E_ERROR, nLine, "PH7 is running out-of-memory");
}
/* Mark as an interface */
pClass->pInfo = pClassInfo;
pClass->iFlags = PH7_CLASS_INTERFACE;
if(pGen->pIn < pGen->pEnd && (pGen->pIn->nType & PH7_TK_KEYWORD)) {
SyString pBaseName;