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

Bugfix: newsize not defined in error message #868

Merged
merged 1 commit into from
Jan 17, 2021
Merged

Conversation

c42f
Copy link
Member

@c42f c42f commented Jan 13, 2021

Looking at the history, this is pretty old code, and the special case
v <: StaticArray seems unnecessary now — the compiler should have no
trouble computing length(v) as a constant and eliminating the branch
when v is a static array.

Fixes #866

@c42f c42f added the bugfix label Jan 13, 2021
Looking at the history, this is pretty old code, and the special case
`v <: StaticArray` seems unnecessary now — the compiler should have no
trouble computing `length(v)` as a constant and eliminating the branch
when `v` is a static array.
@c42f c42f merged commit 52fc102 into master Jan 17, 2021
@c42f c42f deleted the cjf/fix-undef-newsize branch January 17, 2021 04:21
c42f added a commit that referenced this pull request Jan 17, 2021
@c42f c42f mentioned this pull request Jan 17, 2021
c42f added a commit that referenced this pull request Jan 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error in error message
1 participant