Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » OCL » Comparison operators
Comparison operators [message #56317] Wed, 21 May 2008 04:24 Go to previous message
Felix Dorner is currently offline Felix Dorner
Messages: 675
Registered: July 2009
Senior Member
Hei,

From reading the spec. Is it always valid to compare (=) an x of type X against
an y of type Y, given X and Y conform to OclAny? Especially, it is not checked
if X conforms to Y or Y conforms to X, so:

"hello" = 5

is a well formed OCL expression?
Felix
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Bug in OCLAbstractAnalyzer
Next Topic:ocl collection
Goto Forum:
  


Current Time: Wed May 22 10:04:12 EDT 2013

Powered by FUDForum. Page generated in 0.01663 seconds