Ornithologist Coder

Results 7 comments of Ornithologist Coder

That's an interesting conflict. I would expect Swift to know the different between `Foundation.Notification` and `MastodonKit.Notification`. Do you have `import Foundation` in your file?

Hi @frankrausch. I'm a big fan of your work ;-) V for Wiki is one of my favorite apps. It's impressive the amount of thought you've put into it. And...

Hi there! My team needs this rule and, if you don't mind, I'll give it a try. I'll try to make it not conflict with existing rules, such as `line_length`...

Hi @rharter, @faisalmohammed. Are you working with the 2.0 endpoints? If I publish the current HEAD on CocoaPods, does it work for you? Or do you prefer an older version?...

Hi @chadcummings, these are the steps I've used to reproduce it without plugins and/or IDE extensions: * Create a file with CRLF line terminators (I've used VIM for that) ```swift...

For this example (w/ CRLF line terminators): ```swift internal struct Toto { func foo() -> Bool { return false } func bar(_ variable: Bool) -> Bool { return !variable }...

Apparently [`.components(separatedBy: .newlines)`](https://github.com/jpsim/SourceKitten/blob/e5a170d3b3998e1a6142a1c5e54b0e9fe7e968ed/Source/SourceKittenFramework/String%2BSourceKitten.swift#L66) returns the empty lines when the file has CRLF line terminators. So `enumerator` is already looping thru twice the number of lines.