erica / testlint

61 stars 5 forks source link

False positive on self. #2

Open chiliec opened 8 years ago

chiliec commented 8 years ago
endpoint.update().onComplete { _ in
    let emergency = EmergencyRoomsDataSource(database: self.database)
}

In closure, testlint say I don't need to use self.

erica commented 8 years ago

-- E

On Nov 26, 2015, at 11:04 AM, Vladimir Babin notifications@github.com wrote:

endpoint.update().onComplete { _ in let emergency = EmergencyRoomsDataSource(database: self.database) } In closure, testlint say I don't need to use self.

— Reply to this email directly or view it on GitHub https://github.com/erica/testlint/issues/2.