|
Re: Best Solution for when ISemanticModification quickfix results in an InvalidConcreteSyntaxExcepti [message #1735651 is a reply to message #1735647] |
Tue, 21 June 2016 15:24 |
|
i dont get your first point:
org.eclipse.emf.common.util.WrappedException: org.eclipse.xtext.validation.IConcreteSyntaxValidator$InvalidConcreteSyntaxException: These errors need to be fixed before the model can be serialized.
Model.classes[0]->Class.methods[1]->Method'b': Feature Method.body must be set.
says: you try to serialize a method with no body.
so the model is already broken before you execute the quickfix? what kind of quickfix is that? what does it do?
should it work on a broken model at all?
i guess the only proper way is to do either a IModification on the document
or not to execute any fix at all.
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03872 seconds