Skip to content

Commit b6ca546

Browse files
feat: Make ArrowTypeId and Info enums Sendable (#43)
## What's Changed This PR aims to make `ArrowTypeId` and `Info` enums `Sendable` explicitly in order to compile on Swift 6+. Closes #44.
1 parent d883188 commit b6ca546

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Arrow/Sources/Arrow/ArrowType.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public enum ArrowError: Error {
3838
case invalid(String)
3939
}
4040

41-
public enum ArrowTypeId {
41+
public enum ArrowTypeId: Sendable {
4242
case binary
4343
case boolean
4444
case date32
@@ -213,7 +213,7 @@ public class ArrowType {
213213
}
214214
}
215215

216-
public enum Info {
216+
public enum Info: Sendable {
217217
case primitiveInfo(ArrowTypeId)
218218
case variableInfo(ArrowTypeId)
219219
case timeInfo(ArrowTypeId)

0 commit comments

Comments
 (0)