nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
099b18e
)
modelbuilder: apply conditional_importations on mixins
author
Jean Privat
<jean@pryen.org>
Tue, 21 Jul 2015 19:59:32 +0000
(15:59 -0400)
committer
Jean Privat
<jean@pryen.org>
Tue, 21 Jul 2015 20:36:33 +0000
(16:36 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/modelbuilder.nit
patch
|
blob
|
history
diff --git
a/src/modelbuilder.nit
b/src/modelbuilder.nit
index
27d6710
..
eaccbb0
100644
(file)
--- a/
src/modelbuilder.nit
+++ b/
src/modelbuilder.nit
@@
-45,6
+45,8
@@
redef class ToolContext
mainmodule = new MModule(modelbuilder.model, null, mmodules.first.name + "-m", new Location(mmodules.first.location.file, 0, 0, 0, 0))
mainmodule.is_fictive = true
mainmodule.set_imported_mmodules(mmodules)
+ modelbuilder.apply_conditional_importations(mainmodule)
+ modelbuilder.run_phases
end
return mainmodule
end