While adding prototype support to the graphical editor, I've come across a serialization issue.
Steps to Reproduce
Programatically create a FeaturePrototypeBinding and a PortSpecification with and event data category.
Serialize back to AADL.
The keyword used for event data is incorrect. eventData is serialized instead of event data.
iface_pt: feature group;
system implementation test_system.impl
ss: system subsystem (iface_pt => feature group interfaces::subsystem_interface (
message_cpt => data Base_Types::String, event_fpt => out eventData port Base_Types::Integer));
The text was updated successfully, but these errors were encountered:
@lwrage this is blocking the current Graphical Editor prototype work(#2277) but I'm not knowledgeable enough in this area to suggest a fix. It appears to be caused by the xtext grammar or formatter. PortSpecification is the only part of the grammar to reference PortCategory. The prototype support branch is complete enough to easily test out fixes to this issue.