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

Unified Diff: dart/frog/tests/leg/src/mock_compiler.dart

Issue 9866006: Add library mapping. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 8 years, 9 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
« no previous file with comments | « no previous file | dart/lib/compiler/implementation/apiimpl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/tests/leg/src/mock_compiler.dart
diff --git a/dart/frog/tests/leg/src/mock_compiler.dart b/dart/frog/tests/leg/src/mock_compiler.dart
index e3bc61466e1e07e0ad30c1f4f451e8b3a0e831ba..d8db745c2a4a1a0ff6f304512b0d658943998bbc 100644
--- a/dart/frog/tests/leg/src/mock_compiler.dart
+++ b/dart/frog/tests/leg/src/mock_compiler.dart
@@ -7,7 +7,6 @@
#import("../../../../lib/uri/uri.dart");
#import("../../../../lib/compiler/implementation/elements/elements.dart");
-#import("../../../../lib/compiler/implementation/io/io.dart", prefix: 'io');
#import("../../../../lib/compiler/implementation/leg.dart");
#import("../../../../lib/compiler/implementation/tree/tree.dart");
#import("../../../../lib/compiler/implementation/util/util.dart");
@@ -56,7 +55,7 @@ class MockCompiler extends Compiler {
String helperSource = DEFAULT_HELPERLIB])
: warnings = [], errors = [],
sources = new Map<String, String>(),
- super.withCurrentDirectory(io.getCurrentDirectory()) {
+ super() {
Uri uri = new Uri(scheme: "source");
var script = new Script(uri, new MockFile(coreSource));
coreLibrary = new LibraryElement(script);
« no previous file with comments | « no previous file | dart/lib/compiler/implementation/apiimpl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698