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 type fields in method signatures #25944

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

Conversation

riftEmber
Copy link
Member

@riftEmber riftEmber commented Sep 13, 2024

Fix a bug preventing dyno from resolving unqualified uses of type fields or parenless procs in method signatures.

Resolved by setting Resolver::inCompositeType in more cases where it appears to have been accidentally omitted, and by delaying resolution of parenless procs on generic receivers until later when they are instantiated.

Also adds dyno tests for the fixed cases.

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

Depends on #25932 which should be merged first.

[reviewer info placeholder]

Testing:

  • dyno tests
  • paratest

@riftEmber riftEmber changed the title Test resolving a dependently-typed field in method Fix using type fields in method signatures Sep 13, 2024
@riftEmber riftEmber changed the title Fix using type fields in method signatures Fix dyno resolving type fields in method signatures Sep 13, 2024
@riftEmber riftEmber marked this pull request as ready for review September 13, 2024 20:34
@riftEmber riftEmber force-pushed the use-type-in-sig branch 2 times, most recently from 1eac82d to caa671a Compare September 13, 2024 22:27
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.

1 participant