move chasing of embeds so that dependencies get resolved correctly

Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/a862e39b
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/a862e39b
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/a862e39b

Branch: refs/heads/develop
Commit: a862e39b87ed5067f1765152afdad7a70ae768dd
Parents: c5ea8ec
Author: Alex Harui <[email protected]>
Authored: Wed Oct 2 20:53:58 2013 -0700
Committer: Alex Harui <[email protected]>
Committed: Tue Oct 8 13:50:58 2013 -0700

----------------------------------------------------------------------
 .../apache/flex/compiler/internal/units/ASCompilationUnit.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a862e39b/compiler/src/org/apache/flex/compiler/internal/units/ASCompilationUnit.java
----------------------------------------------------------------------
diff --git 
a/compiler/src/org/apache/flex/compiler/internal/units/ASCompilationUnit.java 
b/compiler/src/org/apache/flex/compiler/internal/units/ASCompilationUnit.java
index cb97c0d..5ce596a 100644
--- 
a/compiler/src/org/apache/flex/compiler/internal/units/ASCompilationUnit.java
+++ 
b/compiler/src/org/apache/flex/compiler/internal/units/ASCompilationUnit.java
@@ -542,10 +542,10 @@ public class ASCompilationUnit extends CompilationUnitBase
 
         Collection<ICompilerProblem> problems = new 
ArrayList<ICompilerProblem>();
 
-        updateEmbedCompilationUnitDependencies(fn.getEmbedNodes(), problems);
-
         getABCBytesRequest().get();
 
+        updateEmbedCompilationUnitDependencies(fn.getEmbedNodes(), problems);
+
         IOutgoingDependenciesRequestResult result = new 
IOutgoingDependenciesRequestResult()
         {
             @Override

Reply via email to