Just noted that my TranspilerOptions for dead code seem to work whilst NOT turned on. Damn!!! This is one of the best options in the world!!! #Happy4Days
These are picked up whilst the options are OFF and are the only picks in my project so long, I like what I see when they are ON. Wow!
On the issue of dead code, just for clarity
BANano.TranspilerOptions.ShowWarningDeadCode = True
BANano.TranspilerOptions.RemoveDeadCode = True
These two statements work in conjuction?
When both true, the OPTIMISATION "white" log text for "appears to be unused" does not show and you get a msg that the dead code will not be added.
When .RemoveDeadCode = False, the OPTIMISATION "white" log text appears. Are they dependent on each other? CASE 2 below.
Case 1:
[CODE]BANano.TranspilerOptions.ShowWarningDeadCode = True
BANano.TranspilerOptions.RemoveDeadCode = False
[/CODE]
Case 2: (Warning Dead Code No Show)
[CODE]BANano.TranspilerOptions.ShowWarningDeadCode = True
BANano.TranspilerOptions.RemoveDeadCode = True
[/CODE]