Skip to content

Family issues #208

@rdaly525

Description

@rdaly525

This is a tracker for resolving family issues:

The major issue is that different codepaths make different assumptions regarding families

In a peak program there are 4 use cases of families.

(1) Type annotations on call
(2) Constant values
(3) Type matching for Sum/TaggedUnions
(4) Dynamic ADT constructors (family.get_constructor
(5) Type annotations on init values

We need to decide whether to use the passed in family or a particular kind of family (Py) for each of these 4 cases.

Constraints:
(2) needs to be the passed in family.
(4) needs to be the passed in family (I suspect)

Current state:
Some code paths assume (1) and (3) assume the family is Py and other assume it is the passed in family.

My preference is to have all 1-4 be using the passed in family.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions