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
/** In capture checking, implements the logic to compare type variables which represent
331
330
* capture variables.
332
331
*
333
332
* Note: should only be called in a context where tp1 or tp2 is a type variable representing a capture variable.
333
+
*
334
+
* @return -1 if tp1 or tp2 is not a capture variables, 1 if both tp1 and tp2 are capture variables and tp1 is a subcapture of tp2,
335
+
* 0 if both tp1 and tp2 are capture variables but tp1 is not a subcapture of tp2.
334
336
*/
335
-
deftryHandleCaptureVars:Boolean=
336
-
isCaptureCheckingOrSetup && isCapSet(tp1) && isCapSet(tp2) && recur(canonicalizeToCapSet(tp1), canonicalizeToCapSet(tp2)) // TODO: we could probably just call subcapturing right away here and terminate early
0 commit comments