Index: compiler/java/com/google/dart/compiler/LibraryDepsVisitor.java |
diff --git a/compiler/java/com/google/dart/compiler/LibraryDepsVisitor.java b/compiler/java/com/google/dart/compiler/LibraryDepsVisitor.java |
index 092297d5f4965dfb76113b5fd826636807dae1b1..e506c5491af221f95eabf20ebfa3cc0588b7baed 100644 |
--- a/compiler/java/com/google/dart/compiler/LibraryDepsVisitor.java |
+++ b/compiler/java/com/google/dart/compiler/LibraryDepsVisitor.java |
@@ -57,6 +57,8 @@ public class LibraryDepsVisitor extends ASTVisitor<Void> { |
// Add dependency on the computed type of identifiers. |
switch (kind) { |
case NONE: |
+ source.addHole(node.getName()); |
+ break; |
case DYNAMIC: |
break; |
default: { |