Skip to content

No errors for constant property associations #935

@stevevestal

Description

@stevevestal

OSATE will accept the following declarations. It would seem that either an error would be raised on the first property association that constant is only allowed in property sets; or else an error would be raised in the second that overriding a property earlier declared to be constant is not allowed. (It would actually be nice to do this in some cases. Perhaps the committee might let such a request slip through into AADL 2.3 as an errata.)

system Desired_Component
	properties
		Memory_Size => constant 5 MByte;
end Desired_Component;

system implementation Desired_Component.Provided_Implementation
	properties
		Memory_Size => 10 Mbyte;
end Desired_Component.Provided_Implementation;

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions