More readable error message.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
508e8965a9
commit
5a0e4667fa
|
@ -3180,8 +3180,8 @@ static sxi32 PH7_GenStateCompileClassMethod(
|
||||||
}
|
}
|
||||||
if((pClass->iFlags & PH7_CLASS_VIRTUAL) == 0) {
|
if((pClass->iFlags & PH7_CLASS_VIRTUAL) == 0) {
|
||||||
PH7_GenCompileError(pGen, E_ERROR, nLine,
|
PH7_GenCompileError(pGen, E_ERROR, nLine,
|
||||||
"Class '%z' contains virtual method and must therefore be declared virtual or implement the remaining method '%z::%z()'",
|
"A method '%z::%z()' cannot be declared as virtual in non-virtual class",
|
||||||
&pClass->sName, &pClass->sName, pName);
|
&pClass->sName, pName);
|
||||||
}
|
}
|
||||||
/* Assemble method signature only */
|
/* Assemble method signature only */
|
||||||
doBody = FALSE;
|
doBody = FALSE;
|
||||||
|
|
Loading…
Reference in New Issue