The code in question is a bit that comes from this answer, and checks whether a given index is available or not.
Specifically, only in XCode 8.3 does the following issue who up (the code compiles fine in XCode 9 beta. This code is also decidedly Swift 3, and not 4).
I looked into issues relating to the "missing argument" error, and the typical response is to make sure to include the optional argument. However, in here all 3 are included optional
i
, which is the type Index
.
What am I doing incorrectly with the syntax here?