Skip to content

Renaming property set drops property set prefix from references to constants #2223

Description

@lwrage

Summary

When renaming a property set with rename refactoring property constants that are defined and used in this property set lose their property set name prefix.

Steps to Reproduce

  1. Paste the model below in the AADL text editor
  2. Place the cursor on the property set name and hit Alt+Shift+R
  3. Change the property set name to PS1
  4. References to constant C1 are now C1 instead of PS1::C1
property set PS is
	C1: constant aadlinteger => 0;
	-- errors in the following 2 lines 
	C2: constant aadlinteger => PS::C1;
	P1: aadlinteger => PS::C1 applies to (all);
end PS;

Environment

  • OSATE Version: 2.7.0
  • Operating System: Linux

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions