Open brice-morin opened 8 years ago
We can add:
About
I'm afraid it is a common case when libraries are used (One does not always need each option of a library)
Yes, that is why it is just warning. As in Java, we could imagine having some annotation to ignore some warning, so that the developer explicitly takes the responsibility of ignoring the warning when he knows what he is doing.
We should also add
This issue is to discuss the set of rules that should be checked in the future ThingML checker. This will be used e.g. by the compilers to refuse to generate erroneous code, warn about potential problems and perform some optimization (remove dead code, etc).
2 and true
or"debug myVar = " + 2
or expressions that reduce to that kind of non-sense