Merge: phases: do not reanalyze amodules in run_phase
authorJean Privat <jean@pryen.org>
Mon, 8 Sep 2014 20:30:20 +0000 (16:30 -0400)
committerJean Privat <jean@pryen.org>
Mon, 8 Sep 2014 20:30:20 +0000 (16:30 -0400)
Multiple `run_phase` invocation should not analyze a amodule twice.

This is a workaround, the whole phase API should be improved to make late
module loading less error-prone and more simple.

Close #726

Pull-Request: #729
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>

1  2 
src/phase.nit

diff --cc src/phase.nit
Simple merge