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

Constant vector length should accept non-literal constants #4907

Closed
jdm opened this issue Feb 12, 2013 · 1 comment
Closed

Constant vector length should accept non-literal constants #4907

jdm opened this issue Feb 12, 2013 · 1 comment

Comments

@jdm
Copy link
Contributor

jdm commented Feb 12, 2013

rusti> const foo: uint = 8;
rusti> const bar: [uint * foo] = [0, 1,2,3,4,5,6,7];
<anon>:37:19: 37:22 error: expected integral vector length but found `foo`
@sanxiyn
Copy link
Member

sanxiyn commented Feb 13, 2013

This is #3469.

@jdm jdm closed this as completed Feb 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants