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

Integer division results in TypeError #1

Open
saharan opened this issue Apr 22, 2022 · 1 comment
Open

Integer division results in TypeError #1

saharan opened this issue Apr 22, 2022 · 1 comment

Comments

@saharan
Copy link
Owner

saharan commented Apr 22, 2022

final a = 1 / 2;

a is hgsl.Types.Int but 1 / 2 is StdTypes.Float, we need int(1 / 2) here

@saharan
Copy link
Owner Author

saharan commented May 12, 2023

maybe solved in 0.3.0? gotta check later

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

1 participant