tailor
tailor copied to clipboard
Unable to check files with escaping
Hello, I like your utility, but we have one issue
Tailor Version: v0.12.0
Swift Version: 3.1
Platform (Mac/Linux/Windows/CI): Mac
Installation Method: Homebrew
Steps to Reproduce Issue
- Create a test class with function private func getAvailableBoosts(completion: @escaping (Int) -> (), failure: @escaping (_ error: RequestError) -> ()) {}
- Check this file by tailor
- You will see message that it can't be parsed
- change function name(remove "error") to private func getAvailableBoosts(completion: @escaping (Int) -> (), failure: @escaping (RequestError) -> ()) {}
- check file again and it will be parsed successfully