Skip to content

Commit

Permalink
whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
plneappl authored Nov 29, 2019
1 parent f39bcb9 commit 2509f97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class GeneratorUtils {
if(program !== null) {
// count event handlers, so we get unique names
val occurrence = (event.eContainer as Program).eventHandlers.filter[it.event.baseName == event.event.baseName].indexed.filter[it.value === event].head.key + 1;
return '''HandleEvery«event.baseName»_«occurence»''';
return '''HandleEvery«event.baseName»_«occurrence»''';
}
// if we are somehow not a child of program, default to no numbering
return '''HandleEvery«event.baseName»''';
Expand Down

0 comments on commit 2509f97

Please sign in to comment.