You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We previously did not check that Typed nodes are type-correct,
i.e. that the type of the expression conforms to the given type.
Now we do. This uncovered problems in three different places:
- for internal gadt ascriptions, where a cast should be used instead of
a type ascription.
- for avoidance, where two tests fail
- for PCPCheckAndHeal, where at least one test fails
For now, the logic in avoidance is changed so that we use a cast if an ascription
is incorrect. But this should be fixed so that the cast is never needed, if possible.
After the inlining phase, we fall back to the old logic for typedTyped that
does not check conformance. This is because of PCPCheckAndHeal. This problem should also be
followed up.
We also had to disable one FromTasty test to pass the stricter requirements
0 commit comments