Summary
When making a change to the error model library via the EMF model, the produced error annex library source may remove qualified names to point incorrect error types.
Expected and Current Behavior
When making a change to the error model, references should serialize to the correct qualified names.
Steps to Reproduce
- Create model with the following packages.
- Make a change to the
typelib error model library.
t1_alias no longer reference the correct t1.
package typelib
public
annex EMV2 {**
error types
t1: type;
t2: type;
t1_alias renames type other_typelib::t1;
t2_alias renames type t2;
t3_alias renames type other_typelib::t3;
end types;
**};
end typelib;
package other_typelib
public
annex EMV2 {**
error types
t1 : type;
t3 : type;
end types;
**} ;
end other_typelib;
Example Resulting Model
package typelib
public
annex EMV2 {**
error types
t1: type;
t2: type;
t1_alias renames type t1; -- THIS IS INCORRECT
t2_alias renames type t2;
t3_alias renames type other_typelib::t3;
new_error_type: type;
end types;
**};
end typelib;
Summary
When making a change to the error model library via the EMF model, the produced error annex library source may remove qualified names to point incorrect error types.
Expected and Current Behavior
When making a change to the error model, references should serialize to the correct qualified names.
Steps to Reproduce
typeliberror model library.t1_aliasno longer reference the correctt1.Example Resulting Model