Skip to content

Unable to check files with escaping #490

@ifelsedeveloper

Description

@ifelsedeveloper

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions