-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Factor out "value" variants of ConstValue
#59210
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Hey @oli-obk, happy to take this one :). |
Awesome! Please do note that this is a ton of work and may get annoying with rebases, so it may require some endurance to get actually merged. |
It'd also be better to wait until #59008 is merged, because there's otherwise going to be a lot of conflicts. |
@varkor I see, thx for the info. |
@stepnivlk If you did not see, #59008 got merged! Just wanted to ping you in case you are still interested in working on this. |
@yodaldevoid great, thx for the info and I actually missed it. I'm def interested, gonna work on that. |
hey @oli-obk I have one tiny question, @eddyb mentioned here #59178 (comment) that he wants |
|
Basically create a new enum
ConstKind
which has all the variants ofConstValue
except forScalar
,Slice
,ByRef
.ConstKind
should then have a variant (maybeEvaluated
or justValue
), which contains aConstValue
.cc #59178 (comment)
continuation of #54738
This is actually just some mechanical refactoring, but also a ton of work (since you'll be touching almost every occurrence of
ConstValue
).The text was updated successfully, but these errors were encountered: