Skip to content

Vec2 crash #23

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

Closed
adekto opened this issue Feb 12, 2017 · 1 comment
Closed

Vec2 crash #23

adekto opened this issue Feb 12, 2017 · 1 comment

Comments

@adekto
Copy link

adekto commented Feb 12, 2017

using a variable in a vec2 results into a hard crash of odin.exe
error:
w:\odin\src\ir.c:1750: Assert Failure: is_type_array(st) || is_type_vector(st)

example code:
i :f32= 1.0;
b := Vec2{i};

it works fine with constant values

gingerBill added a commit that referenced this issue Feb 12, 2017
@gingerBill
Copy link
Member

This has been fixed in the latest commit and will released in the next release.

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

No branches or pull requests

2 participants