Skip to main content

Why does this not work??

1 reply [Last post]
Joined: 2006-05-25

I have the follow class specified. By the language spec this should work:

class SomeClass {
attribute someAttr: SomeOtherClass+;

I get:

"Sorry I was trying to understand a type specification, but I got confused when I saw '+' which is an operator."

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-11-15

You are probably using some old language spec. Try this one:

Do define a sequence of SomeOtherClass, try this:

attribute someAttr: SomeOtherClass[];