nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd33065
)
model: do not fatal when more than one primitive class. just return one.
author
Jean Privat
<jean@pryen.org>
Fri, 28 Nov 2014 13:33:10 +0000
(08:33 -0500)
committer
Jean Privat
<jean@pryen.org>
Fri, 28 Nov 2014 13:33:10 +0000
(08:33 -0500)
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
f5582d8
..
cd6aaec
100644
(file)
--- a/
src/model/model.nit
+++ b/
src/model/model.nit
@@
-263,7
+263,7
@@
redef class MModule
var msg = "Fatal Error: more than one primitive class {name}:"
for c in cla do msg += " {c.full_name}"
print msg
- exit(1)
+ #exit(1)
end
return cla.first
end