Skip to content

Commit e918600

Browse files
committed
[stdlib][NFC] Break Set/Dictionary implementation into smaller files
This has long been overdue; splitting the Dictionary.swift/Set.swift monoliths makes for a far less confusing editing experience.
1 parent 9ae572f commit e918600

17 files changed

+4690
-4556
lines changed

stdlib/public/core/CMakeLists.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ set(SWIFTLIB_ESSENTIAL
5252
CTypes.swift
5353
DebuggerSupport.swift
5454
Dictionary.swift
55+
DictionaryBridging.swift
56+
DictionaryBuilder.swift
57+
DictionaryCasting.swift
58+
DictionaryStorage.swift
59+
DictionaryVariant.swift
5560
DropWhile.swift
5661
Dump.swift
5762
EmptyCollection.swift
@@ -69,7 +74,6 @@ set(SWIFTLIB_ESSENTIAL
6974
# if we do so, the compiler crashes.
7075
AnyHashable.swift
7176
# END WORKAROUND
72-
HashedCollectionsAnyHashableExtensions.swift
7377
Hasher.swift
7478
Hashing.swift
7579
HashTable.swift
@@ -92,6 +96,8 @@ set(SWIFTLIB_ESSENTIAL
9296
Mirrors.swift.gyb
9397
Misc.swift
9498
MutableCollection.swift
99+
NativeDictionary.swift
100+
NativeSet.swift
95101
NewtypeWrapper.swift
96102
NormalizedCodeUnitIterator.swift
97103
ObjectIdentifier.swift
@@ -118,6 +124,12 @@ set(SWIFTLIB_ESSENTIAL
118124
SequenceWrapper.swift
119125
Set.swift
120126
SetAlgebra.swift
127+
SetAnyHashableExtensions.swift
128+
SetBridging.swift
129+
SetBuilder.swift
130+
SetCasting.swift
131+
SetStorage.swift
132+
SetVariant.swift
121133
ShadowProtocols.swift
122134
Shims.swift
123135
Slice.swift

0 commit comments

Comments
 (0)