google-code-export / umple

Automatically exported from code.google.com/p/umple
1 stars 0 forks source link

Uncaught syntax warnings when defining constraints #604

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When we add an extra square bracket at the end of a defined constraint, the 
parser does not complain. For example:

class Test {
  String var1;
  String var2;

  [var1>var2]]
}

Nothing will happen. Still the code will be generated properly. 

Change your constraint to be:
 [var1>var2> 0]]

The constraint line will be treated as an extra code. The previous constraint 
is defined wrongly; however, we shall warn the user about this issue before 
generation.

Please use labels and text to provide additional information.
N/A

Original issue reported on code.google.com by ahmedvc@gmail.com on 28 Jun 2014 at 4:56

GoogleCodeExporter commented 9 years ago
Good Morning,

i noticed that recently you raised some new issues about using constraints on 
Umple. Are they open to anyone or you are already working on them?

Regards,
Pedro

Original comment by PedroAug...@gmail.com on 7 Jul 2014 at 2:53

GoogleCodeExporter commented 9 years ago
Please contact Geoffrey (red eyed mars) to get his go-ahead if you want to work 
on stuff related to constraints.

Original comment by TimothyCLethbridge on 7 Jul 2014 at 4:25

GoogleCodeExporter commented 9 years ago

Original comment by ahmedvc@gmail.com on 9 Jul 2014 at 10:07

GoogleCodeExporter commented 9 years ago
No. I am not working on these defects.

Original comment by ahmedvc@gmail.com on 9 Jul 2014 at 10:15

GoogleCodeExporter commented 9 years ago

Original comment by TimothyCLethbridge on 24 Jul 2014 at 2:58