Issue 6887: Allow implicit type casting to boolean when a boolean is expected (ocl2-rtf) Source: France Telecom R&D (Mr. Mariano Belaunde, mariano.belaunde(at)orange.com) Nature: Uncategorized Issue Severity: Summary: Example1: if list.select(...) then … equivalent to if list.select(...)->notEmpty() then … Example2: if item then … equivalent to if item<>OCLUndefined then ... Resolution: Revised Text: Actions taken: January 7, 2004: received issue Discussion: This is a request to improve the language. Better solved in a RTF. End of Annotations:===== SSUE: Allow implicit type casting to boolean when a boolean is expected in an expression. Example1: if list.select(...) then … equivalent to if list.select(...)->notEmpty() then … Example2: if item then … equivalent to if item<>OCLUndefined then ...