Update Defaults.swift
This commit is contained in:
parent
e6eaaea7fb
commit
828186a46d
|
@ -51,8 +51,11 @@ extension Defaults {
|
|||
|
||||
@_alwaysEmitIntoClient
|
||||
fileprivate init(name: String, suite: UserDefaults) {
|
||||
runtimeWarn(isValidKeyPath(name: name),
|
||||
"The key name must be ASCII, not start with @, and cannot contain a dot (.).")
|
||||
runtimeWarn(
|
||||
isValidKeyPath(name: name),
|
||||
"The key name must be ASCII, not start with @, and cannot contain a dot (.)."
|
||||
)
|
||||
|
||||
self.name = name
|
||||
self.suite = suite
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue