Skip to content
This repository has been archived by the owner on Jun 4, 2019. 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
Assignees

Comments

@kfhoech
Copy link
Contributor

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 commented Mar 29, 2018

Resolved by Pull Request 112.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant