vapor-community / node

A formatted data encapsulation meant to facilitate the transformation from one object to another
MIT License
25 stars 20 forks source link

Same-type requirement makes generic parameter 'Element' non-generic #74

Closed runewell closed 7 years ago

runewell commented 7 years ago

When building the node module I get the following error regarding an Array extension in the FuzzyConverter.swift file.

/JSON/Packages/Node-2.0.0/Sources/Node/Fuzzy/FuzzyConverter.swift:21:40: error: same-type requirement makes generic parameter 'Element' non-generic

Any thoughts on how to resolve this? Am I missing an extension file from another project?

tanner0101 commented 7 years ago

Node 2 requires Swift 3.1. https://docs.vapor.codes/2.0/getting-started/install-on-macos/#install-vapor