1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00

Try constructing explicitly.

Maybe Xcode 7.0 will like this one better.
This commit is contained in:
Rob Rix 2015-10-28 18:07:04 -04:00
parent 04eaeffb1b
commit ae6ecef9c2

View File

@ -193,7 +193,7 @@ extension Int: CustomJSONConvertible {
extension Array where Element: CustomJSONConvertible {
public var JSON: Doubt.JSON {
return .Array(map(Doubt.JSON.init))
return .Array(map { Doubt.JSON($0) })
}
}