Skip to content

Commit

Permalink
Add another reserved word: operator
Browse files Browse the repository at this point in the history
  • Loading branch information
knovichikhin authored Mar 27, 2023
1 parent 3cacd62 commit b9d45b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/ServiceModelEntities/String+nameConversions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
import Foundation

private let reservedWords: Set<String> = ["in", "protocol", "return", "default", "public", "self",
"static", "private", "internal", "do", "is", "as", "true", "false", "import"]
"static", "private", "internal", "do", "is", "as", "true", "false", "import",
"operator"]

public extension String {
/**
Expand Down

0 comments on commit b9d45b4

Please sign in to comment.