Skip to content

Conversation

@keyboardDrummer
Copy link
Member

@keyboardDrummer keyboardDrummer commented Sep 18, 2024

Description

Make hide/reveal work for the old resolver

How has this been tested?

Manual testing on the Dafny standard library

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

/// <param name="allowMethodCall">If false, generates an error if the name denotes a method. If true and the name denotes a method, returns
/// a Resolver_MethodCall.</param>
Expression ResolveDotSuffix(ExprDotName expr, bool isLastNameSegment, List<ActualBinding> args, ResolutionContext resolutionContext, bool allowMethodCall) {
public Expression ResolveDotSuffix(ExprDotName expr, bool allowStaticReferenceToInstance, bool isLastNameSegment, List<ActualBinding> args, ResolutionContext resolutionContext, bool allowMethodCall) {
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be nice to describe allowStaticReferenceToInstance in the documentation comment above.

@keyboardDrummer keyboardDrummer merged commit 535aa54 into dafny-lang:master Sep 19, 2024
22 checks passed
@keyboardDrummer keyboardDrummer deleted the hideRevealOldTypeSystem branch September 19, 2024 18:03
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