File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ There is a slight distinction made between standard unification and specializati
6565We say that specialization chooses "the most specific" candidate, but what does that really mean?
6666We might think that specialization is just the deepest subtype, but that would be wrong.
6767
68- When we have two candidates such as ` x -> x ` and it's specialized version ` A -> A ` , we obviously want to choose the specialized version.
68+ When we have two candidates such as ` x -> x ` and its specialized version ` A -> A ` , we obviously want to choose the specialized version.
6969However, in standard subtyping relations, the parametric version is the subtype.
7070This is because ` x -> x ` can become a ` A -> A ` , but ` A -> A ` cannot become a ` x -> x ` .
7171So something needs to change.
You can’t perform that action at this time.
0 commit comments