melange
melange copied to clipboard
Issue on copying aspects that reuses Util classes outside of the k3 project
Hey all, I'm facing some issues when trying to add calls to an Util class that is part of the original language I'm extending with Melange. The original language contains an Util class that is used by it's own semantic validator. However, this class contains methods I need in the k3 aspects, therefore I imported the package and used it. K3 works fine, it generates the aspects correctly.
The problem is when it comes to melange, when copying the aspects it tries to pass the parameters as in the extended language, which is not accepted by the Util class. Should it use the adapters to provide the parameters in the original language, in this case. I managed to fix the issue manually, but it is a bit annoying re-doing this everytime I re-generate the language runtime.