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

[fwd port] check view consistency in fetch/exercise by interface #19957

Merged
merged 4 commits into from
Oct 1, 2024

Conversation

paulbrauner-da
Copy link
Contributor

@paulbrauner-da paulbrauner-da commented Sep 18, 2024

Forward port of #19857. Because main only has soft fetches, its code is quite different from main-2.x: there is no more fetchAny for instance. So the port is not a mere cherry-pick, I had to tweak it and it could benefit from a proper review.

make sure to hide whitespace changes when reviewing

@paulbrauner-da paulbrauner-da force-pushed the pb/check-views-in-exercise-by-interface-3.x branch 2 times, most recently from 7b28269 to 025e75d Compare September 18, 2024 13:14
@paulbrauner-da paulbrauner-da changed the base branch from main to sw/new-fetch-interface-fix-3x September 24, 2024 08:51
Base automatically changed from sw/new-fetch-interface-fix-3x to main September 24, 2024 15:54
@paulbrauner-da paulbrauner-da force-pushed the pb/check-views-in-exercise-by-interface-3.x branch from 025e75d to 94c395b Compare September 25, 2024 13:12
@paulbrauner-da paulbrauner-da marked this pull request as ready for review September 25, 2024 14:54
Copy link
Collaborator

@remyhaemmerle-da remyhaemmerle-da left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

Comment on lines 48 to 49
val ifacePkgName = Ref.PackageName.assertFromString("-iface-pkg-")
val ifacePkgId = Ref.PackageId.assertFromString("-iface-package-id-")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extremely picky comment.
why -iface-pkg- and -iface-package-

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Comment on lines 105 to 106
// TODO: revert to the default compiler config once it supports upgrades
Compiler.Config.Dev(LanguageMajorVersion.V2),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we factorize the version and the comment (lines 52, 82 and here) ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@paulbrauner-da paulbrauner-da enabled auto-merge (squash) October 1, 2024 15:17
@paulbrauner-da paulbrauner-da merged commit deefd01 into main Oct 1, 2024
14 checks passed
@paulbrauner-da paulbrauner-da deleted the pb/check-views-in-exercise-by-interface-3.x branch October 1, 2024 16:15
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

Successfully merging this pull request may close these issues.

2 participants