Skip to content

Commit 921a8c3

Browse files
committed
Fix compile error in Lexer.swift
1 parent e01528b commit 921a8c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/JMESPath/Lexer.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,8 @@ public class Lexer {
150150
private func readQuotedIdentifier() throws -> String {
151151
let string = try readInside()
152152
let variable = try JMESVariable.fromJson("\"\(string)\"")
153-
guard case .string(let string) = variable else { preconditionFailure() }
154-
return string
153+
guard case .string(let string2) = variable else { preconditionFailure() }
154+
return string2
155155
}
156156

157157
private func readRawString() throws -> JMESVariable {

0 commit comments

Comments
 (0)