Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect "key.parsed_declaration" in function with linebreak #633

Open
minuscorp opened this issue Nov 25, 2019 · 0 comments
Open

Incorrect "key.parsed_declaration" in function with linebreak #633

minuscorp opened this issue Nov 25, 2019 · 0 comments
Labels

Comments

@minuscorp
Copy link

https://github.com/realm/SwiftLint/blob/4aad7e14b477b4f25eb47f7d46577d614ce16924/Source/SwiftLintFramework/Protocols/Rule.swift#L97 gets parsed as

func violationRanges(in file: File, kind: KindType,

instead of

func violationRanges(in file: SwiftLintFile, kind: KindType,
                         dictionary: SourceKittenDictionary) -> [NSRange]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants