Trying tutorial with EAP - GenerationFailureExceptions Follow
I'm trying EAP MPS with Tutorial (I know, quite crazy idea), and I got stuck early after start with my Generator. After I changed CalculatorImpl into property macro (with node.name in the inspector) class itself seems fine (no red errors), but after hitting Preview Generated Text on my Calculator from the sandbox, following errors occur:
What exactly is wrong here? What should I do otherwise?
-- was input: [root] Calculator "MyCalc"[3832439670964626400] in sk.naive.mps.test.calculator.sandbox@1_0
-- was template: [root] ClassConcept "CalculatorImpl"[6867500896379691567] in sk.naive.mps.test.calculator.generator.template.main@generator
-- was rule: [_$attribute] PropertyMacro <no name>[6867500896379694018] in sk.naive.mps.test.calculator.generator.template.main@generator
What exactly is wrong here? What should I do otherwise?
Please sign in to leave a comment.
It may happen if an exception was thrown from a query in your generator, or if your generator was not regenerated in time (after changes).
(Copy from Messages ignores logger names or whatever it is in the [...], as well as timestamps.)
I was confused what to make when (and wrongly assumed that Project makes generators too), but now I'm good to go on. :-) Thank you very much for your push.