Merge: new warning: useless null test
authorJean Privat <jean@pryen.org>
Mon, 13 Oct 2014 17:40:05 +0000 (13:40 -0400)
committerJean Privat <jean@pryen.org>
Mon, 13 Oct 2014 17:40:05 +0000 (13:40 -0400)
So, detect things like

~~~nit
var a = "Hello"
if a != null then print a
#   ^ useless null test!
~~~

Pull-Request: #817
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

1  2 
src/interpreter/naive_interpreter.nit

Simple merge