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

Minimize the parameters of globals/constants #336

Open
sonmarcho opened this issue Sep 11, 2024 · 0 comments
Open

Minimize the parameters of globals/constants #336

sonmarcho opened this issue Sep 11, 2024 · 0 comments

Comments

@sonmarcho
Copy link
Member

If a global constant is defined in an implementation, we parameterize it with all the generics of the impl block (see here for instance). We should only parameterize it with the generics it actually uses. Note that doing this should only require implementing a simple micro-pass.

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