mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-31 07:23:06 +08:00
union, intersection, difference, symmetricDifference, isSubsetOf, isSupersetOf and isDisjointFrom now compile with a Map argument whose key type is the Set's element type, as well as with a Set. A Map's set record reads its keys, and its size, has and keys are the builtins, so the helper loops walk and test the Map's keys in the order the spec gives. Other set-like arguments are still refused.