-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Tracking issue for type equality constraints in where clauses #20041
Copy link
Copy link
Open
Labels
A-lazy-normalizationArea: Lazy normalization (tracking issue: #60471)Area: Lazy normalization (tracking issue: #60471)A-type-systemArea: Type systemArea: Type systemB-unendorsed-legacyBlocker: Not officially endorsed by any team; exists in limbo for historical reasons only.Blocker: Not officially endorsed by any team; exists in limbo for historical reasons only.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-design-concernsStatus: There are blocking design concerns.Status: There are blocking design concerns.S-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-langRelevant to the language teamRelevant to the language teamT-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-lazy-normalizationArea: Lazy normalization (tracking issue: #60471)Area: Lazy normalization (tracking issue: #60471)A-type-systemArea: Type systemArea: Type systemB-unendorsed-legacyBlocker: Not officially endorsed by any team; exists in limbo for historical reasons only.Blocker: Not officially endorsed by any team; exists in limbo for historical reasons only.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-design-concernsStatus: There are blocking design concerns.Status: There are blocking design concerns.S-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-langRelevant to the language teamRelevant to the language teamT-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
View all comments
Important
This type-system feature is currently not on track to be implemented / become part of the language!
Implement the missing type equality constraint specified in RFC 135.
Examples
Note
As a matter of fact,
$type = $typeand$type == $typeare syntactically valid and don't raise any feature gate warning/error ifcfg'ed out! This is likely unintentional and should be ironed out.