Join GitHub today
Fix Swift 4 ambiguity #39
Latest Xcode 9 beta 3 shows
This is likely related to changes in compiler implementation in swift 4 -
The solution is to disambiguate by adding parentheses to functions with more than one parameter. As far as I tested this, it should be backward compatible with earlier versions of swift.
I would wait before merging this to see whether it is a bug of compiler in the beta or a real change.
Thank you @gfontenot for your fast reactivity!