mirror of
https://github.com/github/semantic.git
synced 2024-12-25 16:02:43 +03:00
Revert "Can construct JSON from array literals of CustomJSONConvertible."
This reverts commit cabc221180851e236d39c717db2eefa9edc9f312.
This commit is contained in:
parent
4f2e61054e
commit
4b47650de6
@ -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)
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user