Community
Participate
Working Groups
The definition of a package template might contain classes having a template method applying the "LoopOperations" transformation. During template instantiation, the current implementation expands the method in a post-copy listener on the operation, but uses information from the associated method. When the post-copy listener is called, the operation is fully copied, but - depending on the order of operations/methods in the class - the eventually not the associated method. While is would be possible to change the implementation of the transformation, this would be tricky and error prone, if the code evolves. Therefore, it's preferable to execute the additional transformations after the copy has been done. Another issue is that signature are not correctly copied.