Another fixes to OOP-related error reporting.
Tüm denetlemeler başarılı oldu
The build was successful.

Bu işleme şunda yer alıyor:
2019-05-30 20:18:20 +02:00
ebeveyn feba01eb49
işleme 53199cac4e
3 değiştirilmiş dosya ile 4 ekleme ve 4 silme

Dosyayı Görüntüle

@@ -3458,7 +3458,7 @@ static sxi32 PH7_GenStateCompileClassMethod(
/* Only method signature is allowed */
if(pGen->pIn < pGen->pEnd && (pGen->pIn->nType & PH7_TK_SEMI /* ';'*/) == 0) {
PH7_GenCompileError(pGen, E_ERROR, pGen->pIn->nLine,
"Interface method '%z::%z()' cannot contain body", &pClass->sName, pName);
"Interface or virtual method '%z::%z()' cannot contain body", &pClass->sName, pName);
}
}
/* Store method return data type */