model: hint the semantize phases that `exit` does not return
authorJean Privat <jean@pryen.org>
Thu, 22 Oct 2015 00:32:30 +0000 (20:32 -0400)
committerJean Privat <jean@pryen.org>
Thu, 22 Oct 2015 00:32:30 +0000 (20:32 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

src/model/model.nit

index 820b306..3841daf 100644 (file)
@@ -283,6 +283,7 @@ redef class MModule
                        end
                        print("Fatal Error: no primitive class {name} in {self}")
                        exit(1)
+                       abort
                end
                if cla.length != 1 then
                        var msg = "Fatal Error: more than one primitive class {name} in {self}:"