Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Unified Diff: compiler/javatests/com/google/dart/compiler/DeltaAnalyzerTest.java

Issue 10536180: Issue 3530. Import elements into separate import namespace (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: compiler/javatests/com/google/dart/compiler/DeltaAnalyzerTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/DeltaAnalyzerTest.java b/compiler/javatests/com/google/dart/compiler/DeltaAnalyzerTest.java
index 8c970f02cae29d486872425f1929daee6f18a810..46429239106d101bae1aaa25ca5defd7f6865bcf 100644
--- a/compiler/javatests/com/google/dart/compiler/DeltaAnalyzerTest.java
+++ b/compiler/javatests/com/google/dart/compiler/DeltaAnalyzerTest.java
@@ -115,7 +115,7 @@ public class DeltaAnalyzerTest extends TestCase {
LibraryUnit libraryUnit = DartCompiler.analyzeLibrary(librarySource, null,
config, provider, listener);
LibraryElement enclosingLibrary = libraryUnit.getElement();
- LibraryElement coreLibrary = libraryUnit.getImports().iterator().next().getElement();
+ LibraryElement coreLibrary = libraryUnit.getImportedLibraries().iterator().next().getElement();
return (DartUnit) DartCompiler.analyzeDelta(SourceDelta.before(sourceBefore).after(sourceAfter),
enclosingLibrary, coreLibrary,
null, -1, -1, config, listener);

Powered by Google App Engine
This is Rietveld 408576698