-
Notifications
You must be signed in to change notification settings - Fork 204
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
[fwd port] check view consistency in fetch/exercise by interface #19957
Conversation
7b28269
to
025e75d
Compare
1784fe1
to
a808392
Compare
--------- Co-authored-by: Remy <remy.haemmerle@daml.com>
025e75d
to
94c395b
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.
LGTM. Thanks.
val ifacePkgName = Ref.PackageName.assertFromString("-iface-pkg-") | ||
val ifacePkgId = Ref.PackageId.assertFromString("-iface-package-id-") |
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.
extremely picky comment.
why -iface-pkg-
and -iface-package-
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.
Done
// TODO: revert to the default compiler config once it supports upgrades | ||
Compiler.Config.Dev(LanguageMajorVersion.V2), |
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 factorize the version and the comment (lines 52, 82 and here) ?
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.
Done
Forward port of #19857. Because
main
only has soft fetches, its code is quite different frommain-2.x
: there is no morefetchAny
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