Consultor Eletrônico



Kbase P146264: Error 223 not appearing when data types are not compatible
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/14/2009
Status: Unverified

SYMPTOM(s):

Error 223 not appearing when data types are not compatible

** Incompatible data types in expression or assignment. (223)

A compile time error should be received, but it is not


FACT(s) (Environment):

An object reference is passed to a method that expects a handle
The following method is used:

method public logical validObject(input phObject as handle):
return valid-handle(phObject).
end method.

Windows
OpenEdge 10.2A

CAUSE:

Bug# OE00184395


FIX:

Modify the method so it expects an object reference instead of a handle:

method public logical validObject(input prObject as Progress.Lang.Object):
return valid-object(prObject)
end method.