Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reject invalid casts to real #1203

Merged
merged 2 commits into from
Jan 16, 2025
Merged

Conversation

larsclausen
Copy link
Collaborator

Only vector types can be cast to real. Report an error when trying to cast
a different type instead of triggering an assert later on.

Only vector types can be cast to real. Report an error when trying to cast
a different type instead of triggering an assert later on.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Check that invalid casts to real are reported as an error.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
@larsclausen larsclausen merged commit 1437556 into steveicarus:master Jan 16, 2025
5 checks passed
@larsclausen larsclausen deleted the cast-to-real branch January 16, 2025 03:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant