nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3357f3c
)
model: avoid running phase on fictive module
author
Alexandre Terrasa
<alexandre@moz-code.org>
Tue, 21 Apr 2015 20:23:43 +0000
(16:23 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Tue, 21 Apr 2015 20:23:43 +0000
(16:23 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
src/modelbuilder.nit
patch
|
blob
|
history
diff --git
a/src/modelbuilder.nit
b/src/modelbuilder.nit
index
23f7d49
..
27d6710
100644
(file)
--- a/
src/modelbuilder.nit
+++ b/
src/modelbuilder.nit
@@
-91,6
+91,7
@@
redef class ModelBuilder
model.mmodule_importation_hierarchy.sort(mmodules)
var nmodules = new Array[AModule]
for mm in mmodules do
+ if mm.is_fictive then continue
nmodules.add(mmodule2node(mm).as(not null))
end
toolcontext.run_phases(nmodules)