Closed
Description
Currently the type checker considers A+Send
to be a subtype of A
, but not for the purposes of inference. Part of the DST / coercion plan was to generalize this into a coercion relationship so that it can accommodate arbitrary traits. We should do this before 1.0 as it will cause various minor bits of breakage. Among other things, method resolution will have to be adapted to accommodate this change.
cc @nick29581
Metadata
Metadata
Assignees
Labels
No labels