google-code-export / umple

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

Not telling developers about having extra code #618

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When there is an extra code in the final generated code, Umple compiler should 
let developers know about it through the proper warnings. This is critical 
because sometimes developers forget to put a semicolon at the end of their 
codes and Umple compiler doesn't detect them and consider them as extra codes 
while developers expect the suitable results from their codes. This is 
completely confusing and have a direct association with the fault tolerance 
criterion.
For example, consider the following example. Inside of class "X" there is a 
valid command but without a semicolon. Umple put it as extra code and doesn't 
let the developer know about it. There is two options. The First one is Umple 
compiler detects it and let the developers know about it (I mean missing a 
semicolon). The second one is compiler just arises an warning about having 
extra codes in the final generated code.

class X{
    isA T <X=B>
}

trait T<X>{
  X name;
}

Original issue reported on code.google.com by V.Abdel...@gmail.com on 12 Aug 2014 at 5:30

GoogleCodeExporter commented 9 years ago

Original comment by V.Abdel...@gmail.com on 12 Aug 2014 at 5:32

GoogleCodeExporter commented 9 years ago

Original comment by V.Abdel...@gmail.com on 12 Aug 2014 at 5:32

GoogleCodeExporter commented 9 years ago

Original comment by TimothyCLethbridge on 5 Sep 2014 at 2:34

GoogleCodeExporter commented 9 years ago

Original comment by CraigBry...@gmail.com on 9 Feb 2015 at 2:25