google-code-export / umple

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

Combination of pattern and comma then negation doesn't work any more in code injection #594

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The example manualexamples/CodeInjectionPatternMatching2.ump
has 

  before get*,!getCityOfBirth { 
    if ( DEBUG) { System.out.println("accessing the name"); }
  }

Currently this generates bad java. Recent changes to the parser prevent the 
comma syntax from working after get*

When this problem is solved, please remove the @@@skipcompile line so the 
example will be tested

Original issue reported on code.google.com by TimothyCLethbridge on 12 Jun 2014 at 2:48

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r4195.

Original comment by RedEyedM...@gmail.com on 24 Jun 2014 at 6:09