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

request: compile-time comparison of constant vectors. #1575

Open
Book-reader opened this issue Oct 26, 2024 · 0 comments
Open

request: compile-time comparison of constant vectors. #1575

Book-reader opened this issue Oct 26, 2024 · 0 comments
Labels
Enhancement Request New feature or request
Milestone

Comments

@Book-reader
Copy link

It would be nice to be able to compare constant vectors at compile-time.

int[<2>] $foo = {1, 2};
int[<2>] $bar = {3, 4};
$if ($foo == $bar):
$endif

This is not really high priority for me, and if it is not implemented then I would like an error that says that vectors cannot be compared at compile-time instead of the current message that says that they are not compile-time constants.

@lerno lerno added the Enhancement Request New feature or request label Oct 27, 2024
@lerno lerno added this to the 0.6.5 milestone Nov 16, 2024
@lerno lerno modified the milestones: 0.6.5, 0.6.6 Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants