Closed szschaler closed 4 years ago
@narudocap can you have a play with this and provide feedback via the Github review mechanism?
I've created a simple example (pls v12) but doesn't seem to work, could you check whether it's a problem in the implementation or in the example? Perhaps it is not what I should be testing. A description is in the README file. https://github.com/gts-morpher/pls/tree/master/pls12
There were some typos in the assemble rule. I've just committed a fix. Now there are no problems and parameters seem to be woven correctly.
Here is an additional test case with different combinations of parameters: https://github.com/gts-morpher/pls/tree/master/pls13
This one is interesting as it exposes a remaining issue with name uniqueness. I think this is related to #41 .
Allow rule parameters to be explicitly mapped and woven. Resolves #22.
Tasks
interface_of
here I would suggest that a parameter is considered part of the interface if either its type is anEClass
and is in the interface or there are slots who are in the interface and whose expressions reference the parameter.