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
Implement strict size-decreasing divergence check for Match Types
This is the first step towards implementing the full divergence check
algorithm for Match Types. The logic enforces that recursive reduction
steps must have a strictly smaller size than the sum of the type sizes
of the scrutinee.
This check applies to match types during reduction as well as those
that do not reduce. When the algorithm detects a non-decreasing size,
it returns an ErrorType to prevent infinite recursion.
This work is part of the research project specified by Martin Odersky
in issue #22587.
0 commit comments