New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialized multivalued variables fail to generate variables and initialization #1376

TimLethbridge opened this Issue Sep 25, 2018 · 1 comment


None yet
1 participant

TimLethbridge commented Sep 25, 2018

emails and incoming number are not initialized as variables in the following, however the get and other methods appear, and the attributes appear in diagrams

class Office {
   Integer number;
   String[] emails = {"", ""}
   Integer [] incomingNumber = {765432, 987654}

Regular multivalued attributes (without initialization) seem OK.


This comment has been minimized.


TimLethbridge commented Sep 25, 2018

But if a semicolon is added to the end it works. It should either generate and error in all cases or work without the semicolon in all cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment