Closed
Description
We recently eliminated calls to join
from semantic analysis and postponed them to callbacks before type checking. However, third pass still calls is_subtype
and is_same_type
. I think this can cause problems, and it is better to refactor these calls to a later stage (probably also to the callbacks).
This was discovered while working on #3952