|
|
Re: OCL Expression Error [message #11681 is a reply to message #11610] |
Thu, 15 March 2007 22:03 |
Eclipse User |
|
|
|
Originally posted by: cdamus.ca.ibm.com
Hi, Irina,
Which build of OCL are you using? The problem of empty collections not
conforming to the variable type (as in ps : Set(PseudoState) = Set{}) was
fixed in the 1.1 M5 build.
Or, at least, I thought it was ;-)
Christian
Irina wrote:
>
> �: "Irina" <irina.bova@mail.ru>
> �� Re: OCL-Expression Error
> ��: 15 ���2007 � 16:48
>
> Hi Christian,
>
> thanks for your help,
> but unfortunately it is not work correct ;-((
>
> Error: Init expression type does not conform to type of variable(ps).
>
> My Classdiagram:
>
> STMDiagram (containment AbstractState)
> |
> | allStateFigures
> AbstractState {abstract} extends Named
> |
> |
> PseudoState extends AbstractState
> /attribute kind: PseudoStateKind
> |
> |
> PseudoStateKind (enumeration)
>
> Any idea?
> Thanks in advance!
>
<snip>
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03573 seconds