File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1857,6 +1857,9 @@ void ConstraintSystem::partitionDisjunction(
1857
1857
1858
1858
partitionForDesignatedTypes (Choices, forEachChoice, appendPartition);
1859
1859
1860
+ // Add all the things defined at global scope.
1861
+ appendPartition (globalScope);
1862
+
1860
1863
SmallVector<unsigned , 4 > everythingElse;
1861
1864
// Gather the remaining options.
1862
1865
forEachChoice (Choices, [&](unsigned index, Constraint *constraint) -> bool {
@@ -1866,7 +1869,6 @@ void ConstraintSystem::partitionDisjunction(
1866
1869
appendPartition (everythingElse);
1867
1870
1868
1871
// Now create the remaining partitions from what we previously collected.
1869
- appendPartition (globalScope);
1870
1872
appendPartition (unavailable);
1871
1873
appendPartition (disabled);
1872
1874
You can’t perform that action at this time.
0 commit comments