Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Violated assert: type_is_valid_for_vector(vector_type) #2039

@cbuttner

Description

@cbuttner
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)".

Metadata

Metadata

Assignees

Labels

Fixed needs testingNeeds verification / testing that it now works

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions