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

Fix dyno resolving dependently-typed fields in method #25932

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

riftEmber
Copy link
Member

@riftEmber riftEmber commented Sep 11, 2024

Enable dyno to type resolve usages of dependently-typed class fields, used within methods.

This wasn't working due to the method receiver type being left generic during instantiation. Fixed by using the actual BasicClassType to instantiate the formal when it's generic.

Resolves https://github.com/Cray/chapel-private/issues/6690.

[reviewer info placeholder]

Testing:

  • dyno tests
  • paratest

@riftEmber riftEmber changed the title Fix resolving dependently-typed fields in method Fix dyno resolving dependently-typed fields in method Sep 11, 2024
@riftEmber riftEmber marked this pull request as ready for review September 11, 2024 20:02
Signed-off-by: Anna Rift <anna.rift@hpe.com>
Signed-off-by: Anna Rift <anna.rift@hpe.com>
Signed-off-by: Anna Rift <anna.rift@hpe.com>
Signed-off-by: Anna Rift <anna.rift@hpe.com>
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