Skip to content
This repository was archived by the owner on Jun 4, 2019. It is now read-only.
This repository was archived by the owner on Jun 4, 2019. It is now read-only.

AGREE validator may incorrectly recognize property type as expression #74

@kfhoech

Description

@kfhoech

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;

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions