This commit is contained in:
John Estropia
2020-03-19 14:12:09 +09:00
parent 231e138ab0
commit 7f928dc684
+1 -1
View File
@@ -100,7 +100,7 @@ extension FieldContainer {
/** /**
Overload for compiler error message only Overload for compiler error message only
*/ */
@available(*, unavailable, message: "Field.Computed properties are not allowed to have initial values, including `nil`.") @available(*, unavailable, message: "Field.Virtual properties are not allowed to have initial values, including `nil`.")
public init( public init(
wrappedValue initial: @autoclosure @escaping () -> V, wrappedValue initial: @autoclosure @escaping () -> V,
_ keyPath: KeyPathString, _ keyPath: KeyPathString,