New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AGREE validator may incorrectly recognize property type as expression #74

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

Comments

Projects
None yet
1 participant
@kfhoech
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

This comment has been minimized.

Contributor

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 join this conversation on GitHub. Already have an account? Sign in to comment