Skip to content

Commit 1802158

Browse files
authored
Merge pull request #452 from hamishknight/add-type-annotation
2 parents 935e137 + d7b58ec commit 1802158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/_RegexParser/Utility/TypeConstruction.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public enum TypeConstruction {
6060
flags |= 0x10000
6161
}
6262

63-
let result = elementTypes.withContiguousStorageIfAvailable { elementTypesBuffer in
63+
let result = elementTypes.withContiguousStorageIfAvailable { elementTypesBuffer -> (value: Any.Type, state: Int) in
6464
if let labels = labels {
6565
return labels.withCString { labelsPtr in
6666
swift_getTupleTypeMetadata(

0 commit comments

Comments
 (0)