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

remove varargs on subscripts to avoid subtle bugs when compiling code… #45

Merged
merged 2 commits into from
Feb 21, 2022

Conversation

dastrobu
Copy link
Owner

… that worked with version prior to 0.3.0.

Example:

a[...][..<3]

this would use the old style API on the first subscript, but then the new style API on the second subscript, resulting in a completely differently shaped array since [..<3] would ignore the slice on the first dimension.

dastrobu and others added 2 commits February 21, 2022 06:30
… that worked with version prior to `0.3.0`.

Example:

    a[...][..<3]

 this would use the old style API on the first subscript, but then the new style API on the second subscript, resulting in a completely differently shaped array since `[..<3]` would ignore the slice on the first dimension.
@dastrobu dastrobu merged commit b279913 into master Feb 21, 2022
@dastrobu dastrobu deleted the subscript-fixes branch February 21, 2022 05:44
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

Successfully merging this pull request may close these issues.

1 participant