-
Notifications
You must be signed in to change notification settings - Fork 144
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
arrays #55
Comments
philberty
added a commit
that referenced
this issue
Dec 1, 2020
This adds type inferencing and validation for arrays such as: let x: [i32, 5] = [1,2,3,4,5] ley y = [1,2,3]; It checks that each element is of a valid type and they line up correctly. There needs to be some refactoring of the type resolution to handle the array index expressions so this is a good save point for now. Addresses: #27 #55
philberty
added a commit
that referenced
this issue
Dec 1, 2020
This compiles the ArrayIndexExpressions and Arrays such as: let x = [1,2,3]; let a = x[0]; Addresses: #55
philberty
added a commit
that referenced
this issue
Dec 1, 2020
This adds type inferencing and validation for arrays such as: let x: [i32, 5] = [1,2,3,4,5] ley y = [1,2,3]; It checks that each element is of a valid type and they line up correctly. There needs to be some refactoring of the type resolution to handle the array index expressions so this is a good save point for now. Addresses: #27 #55
philberty
added a commit
that referenced
this issue
Dec 1, 2020
This compiles the ArrayIndexExpressions and Arrays such as: let x = [1,2,3]; let a = x[0]; Addresses: #55
the commits linked to this cause the issue to be closed - reopening untill the copied array syntax works |
closing as the open bugs need to be fixed in the parser |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This ticket is to track the implementation of arrays there is an already open PR #51
The text was updated successfully, but these errors were encountered: