Skip to content

Commit dcf6b20

Browse files
authored
Make RESPValue.array properly indirect
1 parent 2bb74ca commit dcf6b20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/NIORedis/RESP/RESPValue.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public enum RESPValue {
99
case bulkString(Data)
1010
case error(RedisError)
1111
case integer(Int)
12-
case array([RESPValue])
12+
indirect case array([RESPValue])
1313

1414
/// Initializes a `bulkString` by converting the provided string input.
1515
public init(bulk: String) {

0 commit comments

Comments
 (0)