swift-scripts icon indicating copy to clipboard operation
swift-scripts copied to clipboard

Item is unused when it's followed by a comment

Open grifas opened this issue 7 years ago • 0 comments

The script detects an unused item when I return the result of a function with a comment at the same line:

Here an example:

override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
    return getCell() // Bla bla bla
}

grifas avatar Feb 04 '19 10:02 grifas