flint icon indicating copy to clipboard operation
flint copied to clipboard

Detect use of unused state property

Open franklinsch opened this issue 7 years ago • 2 comments

contract X {
  let name: String = "Contract X"  // warn: name was never used
}

franklinsch avatar Jan 12 '18 09:01 franklinsch

I'm not quite sure what this issue actually means - is this supposed to be detecting unused state properties so as to give a warning?

bearbin avatar Jul 23 '18 09:07 bearbin

Yup

franklinsch avatar Jul 23 '18 09:07 franklinsch