Skip to content
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

Missing validation for number values #1100

joeseibel opened this issue Mar 15, 2018 · 0 comments

Missing validation for number values #1100

joeseibel opened this issue Mar 15, 2018 · 0 comments


Copy link

@joeseibel joeseibel commented Mar 15, 2018

NumberValue objects are not checked against their type's lowerBound or upperBound.

The following example should produce an error:

property set ps1 is
	def1: aadlinteger 5 .. 10 applies to (all);
end ps1;

package pkg1
	with ps1;
	thread t
			ps1::def1 => -8;
	end t;
end pkg1;
@joeseibel joeseibel self-assigned this Mar 15, 2018
@lwrage lwrage added the core label Aug 17, 2018
joeseibel added a commit that referenced this issue Jun 3, 2019
@lwrage lwrage added this to the 2.5.1 milestone Jun 7, 2019
@lwrage lwrage closed this in #1826 Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

2 participants