phases: do not reanalyze amodules in run_phase
authorJean Privat <jean@pryen.org>
Mon, 8 Sep 2014 14:28:47 +0000 (10:28 -0400)
committerJean Privat <jean@pryen.org>
Mon, 8 Sep 2014 14:28:47 +0000 (10:28 -0400)
commit202488784d4ff56d5ee1b966e0cbffb767ffd270
treed5cefe5520312ebfe88177f6d7b86d8818d6662f
parent3e2d81fe3cc2431de203f94b70e90f35ff71707b
phases: do not reanalyze amodules in run_phase

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
Signed-off-by: Jean Privat <jean@pryen.org>
src/phase.nit