Interfaces only specify the "contract" they don't do anything about
the implementation.  The returntype="boolean" is sufficient to
articulate that the returntype should be boolean for any method in a
component that implements this interface.  There does not need to be a
return statement in an interface's method signature (indeed it should
error if there is one!).

I'm not on a machine that has BD on it today, so cannot investigate
anything further on this until this evening (about 10h time).

--
Adam


On 17 June, 00:36, Alan Holden <[email protected]> wrote:
> Perhaps off-the-mark with regard to type="interface" behavior, but I've
> found - in getting stuff like mura to run on 1.2 - that any cffunction
> which sets a returntype (of boolean) must explicitly return something
> (like <cfreturn true >) in OpenBD. Otherwise I'll often get some invalid
> type errors when the kids come calling.
>
> HTH, probably not.
>
> Al Holden

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 online manual: http://www.openbluedragon.org/manual/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to