Closed phxnsharp closed 2 years ago
Hi,
first, sorry for the late reply, I was on holidays and did not read any emails.
Yes, these compilation issues happen on name clashes. Theoretically, this should not be too hard to achieve since already now many places in the code generator really trace the created code element (e.g. property) and take the name from there instead of creating a fresh one. However, I don't have time for it until Thursday.
Best,
Georg
Conceptwise, I experienced that resolving these name clashes with an appended _ does least harm to the readability, so I guess I will try whether that works and only resort to numbers otherwise.
Some names used in a source .ecore file cause compilation errors after following the basic tutorial.
Compilation errors:
I am using VS 2019 with NMF-Basic 2.0.176.
Renaming 'model' to 'model2' and 'children' to 'children2' resolves the issue, but changes the DSL.