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

Iterating over/accessing [3]f32 inside packed struct gives 'unable to evaluate constant expression' #2731

Closed
fu5ha opened this issue Jun 22, 2019 · 3 comments
Labels
bug Observed behavior contradicts documented or intended behavior stage1 The process of building from source via WebAssembly and the C backend.
Milestone

Comments

@fu5ha
Copy link
Contributor

fu5ha commented Jun 22, 2019

Example: https://godbolt.org/z/2uTYai

vec2 and vec4 work but vec3 does not

@fu5ha
Copy link
Contributor Author

fu5ha commented Jun 22, 2019

maybe related: #2627

@andrewrk andrewrk added this to the 0.5.0 milestone Jun 27, 2019
@andrewrk andrewrk added the bug Observed behavior contradicts documented or intended behavior label Jun 27, 2019
@andrewrk andrewrk modified the milestones: 0.5.0, 0.6.0 Sep 11, 2019
@andrewrk
Copy link
Member

andrewrk commented Jan 8, 2020

Making a note to test this case when doing #3133.

@andrewrk andrewrk added the stage1 The process of building from source via WebAssembly and the C backend. label Jan 8, 2020
@andrewrk andrewrk modified the milestones: 0.6.0, 0.7.0 Mar 12, 2020
@andrewrk andrewrk modified the milestones: 0.7.0, 0.8.0 Aug 13, 2020
@andrewrk andrewrk modified the milestones: 0.8.0, 0.9.0 Nov 6, 2020
@andrewrk andrewrk modified the milestones: 0.9.0, 0.10.0 May 19, 2021
@Vexu
Copy link
Member

Vexu commented Dec 28, 2022

Arrays are no longer allowed in packed structs.

@Vexu Vexu closed this as completed Dec 28, 2022
@andrewrk andrewrk modified the milestones: 0.12.0, 0.11.0 Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior stage1 The process of building from source via WebAssembly and the C backend.
Projects
None yet
Development

No branches or pull requests

3 participants