pep8analysis: Fix no init call
[nit.git] / contrib / pep8analysis / src / parser / lexer.nit
index c663dcd..f985cf7 100644 (file)
@@ -255,7 +255,7 @@ redef class AError
 
     init init_error(message: String, loc: Location)
     do
-               init(loc)
+               self.location = loc
                self.message = message
     end
 end