Skip to content
This repository has been archived by the owner. It is now read-only.

AGREE validator may incorrectly recognize property type as expression #74

Closed
kfhoech opened this issue Feb 14, 2018 · 1 comment
Closed

AGREE validator may incorrectly recognize property type as expression #74

kfhoech opened this issue Feb 14, 2018 · 1 comment
Assignees

Comments

@kfhoech
Copy link
Contributor

@kfhoech kfhoech commented Feb 14, 2018

When writing expressions in AGREE annexes, incorrectly referencing a property type declaration as if it were a value expression does not result in this erroneous construct being flagged by the validator.

In the following example, the value expression Data_Model::Code_Set is actually a property and not a value analyzable by AGREE:

package Scratch_Pkg
public
	with Data_Model;
	system Scratch
		annex agree {**
			eq x : int = Data_Model::Code_Set;
		**};
	end Scratch;
end Scratch_Pkg;
@kfhoech
Copy link
Contributor Author

@kfhoech kfhoech commented Mar 29, 2018

Resolved by Pull Request 112.

@kfhoech kfhoech closed this Mar 29, 2018
@kfhoech kfhoech added the v2.3.3 label Jul 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant