Avatar
Avatar
koher
@swift-5.8.1 struct Foo: ExpressibleByArrayLiteral { var values: [Int] init(_ values: [Int]) { self.values = values } init(arrayLiteral elements: Int...) { self.init(elements) } } print(Foo())
Foo(values: [])