1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 00:12:29 +03:00

Revert "Can construct JSON from array literals of CustomJSONConvertible."

This reverts commit cabc221180851e236d39c717db2eefa9edc9f312.
This commit is contained in:
Rob Rix 2015-10-28 14:37:04 -04:00
parent 4f2e61054e
commit 4b47650de6

View File

@ -95,8 +95,8 @@ public enum JSON: ArrayLiteralConvertible, BooleanLiteralConvertible, Dictionary
// MARK: ArrayLiteralConvertible
public init(arrayLiteral: CustomJSONConvertible...) {
self = .Array(arrayLiteral.map(Doubt.JSON.init))
public init(arrayLiteral: Doubt.JSON...) {
self = .Array(arrayLiteral)
}