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

Unified Diff: tests/compiler/dart2js/mock_compiler.dart

Issue 10689063: Revert "Revert "First step towards having patch files for generic libraries."" (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: tests/compiler/dart2js/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index 5719f01839f8d2243808af307787dabd3ab14bf1..0a81f15e6eeb98a6fae2dd910a7dd06cb4e3ea8f 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -156,6 +156,9 @@ class MockCompiler extends Compiler {
// Do nothing. The mock core library is already handled in the constructor.
}
+ // The mock library doesn't need any patches.
+ Uri resolvePatchUri(String dartLibraryName) => null;
+
Script readScript(Uri uri, [ScriptTag node]) {
String code = sources[uri.toString()];
if (code === null) throw new IllegalArgumentException(uri);

Powered by Google App Engine
This is Rietveld 408576698