Following results to "error XS1031: Type expected", when no VO compatibility compiler options are enabled (including /vo15), using the VO dialect:
// VO dialect
CLASS TestClass
METHOD TestClipper() CLIPPER
RETURN NIL
END CLASS
Furthermore, when using the Core dialect, the compiler does not report any errors for using the CLIPPER and NIL keywords:
// Core dialect
CLASS TestClass
// no errors!
METHOD TestClipper() AS OBJECT CLIPPER
RETURN NIL
END CLASS
Following results to "error XS1031: Type expected", when no VO compatibility compiler options are enabled (including /vo15), using the VO dialect:
Furthermore, when using the Core dialect, the compiler does not report any errors for using the CLIPPER and NIL keywords: