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

Support ^ for StaticInt? #114

Open
ojwoodford opened this issue Jun 24, 2023 · 1 comment
Open

Support ^ for StaticInt? #114

ojwoodford opened this issue Jun 24, 2023 · 1 comment

Comments

@ojwoodford
Copy link

Currently, the following code throws an error:

using Static
static(2) ^ static(3)

The desired/expected output is static(8). Likewise, 2 ^ static(3) and static(2) ^ 3 should both return 8::Int.

Is there any reason not to support ^ for StaticInt? If not, shall I create a PR to add it?

@Tokazama
Copy link
Collaborator

Only reason not to do it is if it causes a bunch of invalidations. Should be a simple PR to check though

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