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

False positive for used variables

Open priore opened this issue 6 years ago • 1 comments

schermata 2018-10-16 alle 12 35 56

priore avatar Oct 16 '18 10:10 priore

Hi,

When I write a comment after the initialization of a variable used later (in the same line) it appears as unused: captura de pantalla 2019-02-01 a les 12 54 59

but If set the comment before the variable initialization in a new line it works correctly: captura de pantalla 2019-02-01 a les 12 55 29

Thanks!

daniestrella1 avatar Feb 01 '19 12:02 daniestrella1