We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d2d0c commit 41ed510Copy full SHA for 41ed510
Sources/SwiftOperators/OperatorTable+Defaults.swift
@@ -64,7 +64,7 @@ extension OperatorTable {
64
/// without requiring access to the standard library source code. However,
65
/// because it does not incorporate user-defined operators, it will only
66
/// ever be useful for a quick approximation.
67
- public static var standardOperators: OperatorTable {
+ public static let standardOperators: OperatorTable = {
68
let precedenceGroups: [PrecedenceGroup] = [
69
PrecedenceGroup(
70
name: "AssignmentPrecedence",
@@ -437,5 +437,5 @@ extension OperatorTable {
437
precedenceGroups: precedenceGroups,
438
operators: operators
439
)
440
- }
+ }()
441
}
0 commit comments