Open twright opened 1 year ago
On further investigation, it seems like this bug is another case where the CSP generator stops working without emitting any error messages. However, in this case an out of date specification.csp
file is left behind, causing the above type error due to mismatches between the specification CSP and the model CSP.
Hmm, has Eclipse not output anything in stderr? I'm unsure where any stderr emitted by Eclipse plugins is directed under usual conditions.
I'll try running the plugin in debug mode at some point soon to see if I can get some error output out of it.
Failing that, I might just remove the bit of code that's making it catch errors and make it just loudly throw them. Or, at least, remove the generated files.
I have ran into an issue where after making some changes to the RAD RoboChart model, the RoboCert specification generates invalid CSP code. Specifically, I observed the following error message in FDR:
This may be due to some bug in the model I have missed, but this is not caught by the validation in the RoboChart textual editor or the CSP generator.
This bug is triggered on the following branch of the RAD model repository: https://github.com/hlsa/Verifiability-Node/tree/robocert-type-bug/Models/RAD