tailor icon indicating copy to clipboard operation
tailor copied to clipboard

Unable to check files with escaping

Open ifelsedeveloper opened this issue 7 years ago • 0 comments

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

  1. Create a test class with function private func getAvailableBoosts(completion: @escaping (Int) -> (), failure: @escaping (_ error: RequestError) -> ()) {}
  2. Check this file by tailor
  3. You will see message that it can't be parsed
  4. change function name(remove "error") to private func getAvailableBoosts(completion: @escaping (Int) -> (), failure: @escaping (RequestError) -> ()) {}
  5. check file again and it will be parsed successfully

Expected Behavior

Actual Behavior

ifelsedeveloper avatar Aug 16 '17 02:08 ifelsedeveloper