Avatar
Avatar
Iceman
@swift-5.7.3 @swift-5.6.3 @swift-5.3.3 public protocol DependencyKey { associatedtype Value } public struct GenericDependencyKey<T>: DependencyKey { public typealias Value = T public init() {} } extension DependencyKey where Self == GenericDependencyKey<Value> { static var `default`: Self { GenericDependencyKey<Value>() } }
exit status: 1 with stderr:<stdin>:12:34: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project static var `default`: Self { GenericDependencyKey<Value>() } ^