nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb1ac63
)
model: hint the semantize phases that `exit` does not return
author
Jean Privat
<jean@pryen.org>
Thu, 22 Oct 2015 00:32:30 +0000
(20:32 -0400)
committer
Jean 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
patch
|
blob
|
history
diff --git
a/src/model/model.nit
b/src/model/model.nit
index
820b306
..
3841daf
100644
(file)
--- 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}:"