HEADS-project / forum

Open technical discussions within the HEADS project
0 stars 0 forks source link

ThingML Checker #22

Open brice-morin opened 8 years ago

brice-morin commented 8 years ago

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).

nharrand commented 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)

brice-morin commented 8 years ago

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.

nharrand commented 8 years ago

We should also add