-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
[move compiler] add named blocks #14577
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Ignored Deployments
|
d390134
to
8e96ef4
Compare
(255 - 255 == 0) || | ||
(255 & 255 == 255) && | ||
(255 | 255 == 255) || | ||
(255 ^ 255 == 0) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to drop just a few of these to get the compiler through name resolution due to the context size increase. 😞
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we somehow track getting back to fix this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a FIXME. If you'd like me to add an issue as well, I will. Since it's a fairly-invasive rewrite, I'd rather postpone it for another diff.
8e96ef4
to
7204e48
Compare
77983ee
to
78979e3
Compare
80ea966
to
cd0c1fd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't looked through tests extensively yet (though I think we will need some more of them :)) I just wanted to get you some feedback ASAP, sorry for the delay.
Overall,l ooks great! Thanks for turning this out so quickly. Mostly some nits/small concerns. The blocking ones being:
- I think
used_labels
is unused? - We need a better error message for incorrect label usage
Not blocking but, I think we should gate this behind 2024? ... Maybe? ... maybe not I don't know anymore lol
external-crates/move/crates/move-compiler/src/expansion/translate.rs
Outdated
Show resolved
Hide resolved
external-crates/move/crates/move-compiler/src/naming/translate.rs
Outdated
Show resolved
Hide resolved
external-crates/move/crates/move-compiler/src/naming/translate.rs
Outdated
Show resolved
Hide resolved
external-crates/move/crates/move-compiler/src/naming/translate.rs
Outdated
Show resolved
Hide resolved
external-crates/move/crates/move-compiler/src/naming/translate.rs
Outdated
Show resolved
Hide resolved
c6cef93
to
f623420
Compare
7919415
to
6a7ea7c
Compare
be679c3
to
30b6e71
Compare
9b8170b
to
29e383a
Compare
29e383a
to
315c0e8
Compare
315c0e8
to
e22f515
Compare
Description
This adds named blocks for
loop
,while
, and normal block positions.Test Plan
A number of new tests.
If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)
Release notes