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

Array variable added with var does not trigger creation of array ops #466

Open
charlesstaats opened this issue Jul 9, 2024 · 0 comments
Labels

Comments

@charlesstaats
Copy link
Contributor

charlesstaats commented Jul 9, 2024

Example:

struct A {}
var a = new A[];
alias(a, null);

gives an error, whereas

struct A {}
A[] a = new A[];
alias(a, null);

does not give an error.

Expected behavior: var a = new A[]; should be syntactic sugar for A[] a = new A[];.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant