Skip to content

Conversation

dlongnecke-cray
Copy link
Contributor

@dlongnecke-cray dlongnecke-cray commented Aug 6, 2025

NOTE: I will be committing more to this branch after discussing more with BenH about the best approach to take in IWR.

This PR takes an initial stab at widening the ref components (a term for e.g., formals/return-type) of a procedure type. It focuses only on procedure types with the ref return intent and does not focus on class types or ref formals yet.

While here, also adjust how component types are printed when CHPL_DEVELOPER=1 to make it easier to tell which types have been widened. Add some methods to FunctionType to make it easier to detect ref types and construct new function types by substituting components.

@dlongnecke-cray dlongnecke-cray self-assigned this Aug 6, 2025
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