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

Violated assert: type_is_valid_for_vector(vector_type) #2039

Open
cbuttner opened this issue Mar 11, 2025 · 1 comment
Open

Violated assert: type_is_valid_for_vector(vector_type) #2039

cbuttner opened this issue Mar 11, 2025 · 1 comment
Assignees
Labels
Fixed Needs Verification Fixed, but needs verification that it works
Milestone

Comments

@cbuttner
Copy link
Contributor

struct Foo { void* x; }

fn void main()
{
  Foo* foo;
  float[<2>] a = foo[0..1];
}
⚠️ The compiler encountered an unexpected error: "Violated assert: type_is_valid_for_vector(vector_type)".
@lerno lerno self-assigned this Mar 11, 2025
@lerno lerno added this to the 0.7.0 milestone Mar 11, 2025
@lerno lerno added the Fixed Needs Verification Fixed, but needs verification that it works label Mar 11, 2025
@lerno
Copy link
Collaborator

lerno commented Mar 11, 2025

This should work now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed Needs Verification Fixed, but needs verification that it works
Projects
None yet
Development

No branches or pull requests

2 participants