We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following test should be allowed:
func test () begin constant K: integer = 5; var bv: bits (K) = Zeros(K); end
Why? Even if K is an unbounded integer, its uses should be equivalent as using 5 directly, so it's inlining should happen before the unbounded check.
K
5
Plan Use future work on side-effects to simply ignore accesses to constants.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following test should be allowed:
Why?
Even if
K
is an unbounded integer, its uses should be equivalent as using5
directly, so it's inlining should happen before the unbounded check.Plan
Use future work on side-effects to simply ignore accesses to constants.
The text was updated successfully, but these errors were encountered: