Merge: Add and improve warnings
authorJean Privat <jean@pryen.org>
Mon, 22 Sep 2014 19:26:40 +0000 (15:26 -0400)
committerJean Privat <jean@pryen.org>
Mon, 22 Sep 2014 19:26:40 +0000 (15:26 -0400)
* Add tags (labels) for warnings. could be used by Jenkins or other tools to group warnings
* Add second-level warnings, called "advice", used to limit warning inflation a la java
* Add new warnings
  * missing doc
  * unread local variable
  * useless empty init
  * useless attribute type <- was already present, but made a advice, instead of a warnings.

Close #722

Pull-Request: #759
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

1  2 
src/modelize/modelize_property.nit
src/semantize/typing.nit

Simple merge
Simple merge