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

Add const to misleading double assignment #113

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

Keno
Copy link
Contributor

@Keno Keno commented Jun 14, 2024

In const a = b = ..., only a ends up const, although the syntax is arguably confusing. I don't think it matters to much in this context, but TBAA_FLAGS was clearly intended to be const, so annotate it as such.

In `const a = b = ...`, only `a` ends up const, although the syntax
is arguably confusing. I don't think it matters to much in this context,
but TBAA_FLAGS was clearly intended to be const, so annotate it as such.
@chriselrod chriselrod merged commit 6f02941 into JuliaSIMD:master Jun 15, 2024
5 of 20 checks passed
@chriselrod
Copy link
Member

If there ever is a future refactor, perhaps it should drop these altogether.

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.

2 participants