Closed adlerj closed 6 years ago
Hi Jeffrey,
Without the version check, this will fail for Xcode 9 and Swift versions less than 4.1. I tested this in both Xcode 9.0 and 9.4 and everything was building for me locally as well as passing travis-ci build tests.
What version of Xcode are you using? Are you using Swift 4.0?
Change looks good to me.
I believe https://github.com/google/promises/pull/59 fixes this issue. Please reopen if it does not!
The block cast in Promise+Retry.swift isn't needed:
The implementation for compilations with swift versions < 4.1 fail. This PR fixes #55 by removing the broken code.