This method returns a dictionary keyed by name, and each entry is itself a dictionary. The previous declaration was incorrect but only became apparent when invoking this on swift, which crashed whilst trying to bridge the dictionary from objective-c to swift.
Testing
Reproduced original issue and tested fix with a custom test harness. Note that any automated testing is out of scope for this as there are currently no swift tests which run in jenkins/travis. This partly comes under #406.
What
Fix crash in
listIndexes
on swift.How
Fix listIndexes declaration.
This method returns a dictionary keyed by name, and each entry is itself a dictionary. The previous declaration was incorrect but only became apparent when invoking this on swift, which crashed whilst trying to bridge the dictionary from objective-c to swift.
Testing
Reproduced original issue and tested fix with a custom test harness. Note that any automated testing is out of scope for this as there are currently no swift tests which run in jenkins/travis. This partly comes under #406.
Issues
417