From 7ddc54145e2b1c2b8a927238bb538ac9c7189a71 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Wed, 21 Oct 2015 20:32:30 -0400 Subject: [PATCH] model: hint the semantize phases that `exit` does not return Signed-off-by: Jean Privat --- src/model/model.nit | 1 + 1 file changed, 1 insertion(+) diff --git a/src/model/model.nit b/src/model/model.nit index 820b306..3841daf 100644 --- a/src/model/model.nit +++ b/src/model/model.nit @@ -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}:" -- 1.7.9.5