Issue 7542: result value of an if expression (ocl2-rtf) Source: OpenModeling (Mr. Jos Warmer, jos.warmer(at)openmodeling.nl) Nature: Uncategorized Issue Severity: Summary: 34. -- [1] The result value of an if expression is the result of the thenExpression -- if the condition is true, else it is the result of the elseExpression. context IfExpEval inv: resultValue = if condition then thenExpression.resultValue else elseExpression.resultValue endif ==> ’condition’ should be ’condition.resultValue->oclAsType(Boolean) = true’ Resolution: Revised Text: Actions taken: June 10, 2004: received issue Discussion: End of Annotations:===== s is issue # 7542 result value of an if expression 34. -- [1] The result value of an if expression is the result of the thenExpression -- if the condition is true, else it is the result of the elseExpression. context IfExpEval inv: resultValue = if condition then thenExpression.resultValue else elseExpression.resultValue endif ==> .condition. should be .condition.resultValue->oclAsType(Boolean) = true.