aeneas icon indicating copy to clipboard operation
aeneas copied to clipboard

Minimize the parameters of globals/constants

Open sonmarcho opened this issue 1 year ago • 0 comments
trafficstars

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.

sonmarcho avatar Sep 11 '24 11:09 sonmarcho