Improve Captureset Subtyping and Intervals #21999
Labels
area:experimental:cc
Capture checking related
cc-experiment
Intended to be merged with cc-experiment branch on origin
itype:bug
From discussions in PR #21875
Compiler version
Latest NIGHTLY
Minimized code
Output
Expectation
X
intrait Abstract[X]
is set toNothing
.CapSet
commute with capture set union and intersection, i.e.,CapSet^c1 | CapSet^c2 <:> CapSet^(c1 | c2)
andCapSet^c1 & CapSet^c2 <:> CapSet^(c1 & c2)
? Probably, that involves improvingnormalizeCaptures
inSetup
.C^
for declaring a type variable automatically desugar to the intervalCapSet^{} <: C <: CapSet^
?The text was updated successfully, but these errors were encountered: