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

Unified Diff: dart/frog/leg/compiler.dart

Issue 9813012: Add "mock" compilation feature to dart2js and use it to improve test coverage. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments 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
Index: dart/frog/leg/compiler.dart
diff --git a/dart/frog/leg/compiler.dart b/dart/frog/leg/compiler.dart
index 76ada7b3ae651e37a1cf93d57475c31a902971c1..3cdedd5de1ab87a4834eae9ed0fee13f4fcb4843 100644
--- a/dart/frog/leg/compiler.dart
+++ b/dart/frog/leg/compiler.dart
@@ -470,6 +470,8 @@ class Compiler implements DiagnosticListener {
}
Element findHelper(SourceString name) => jsHelperLibrary.find(name);
+
+ bool get isMockCompilation() => false;
}
class CompilerTask {

Powered by Google App Engine
This is Rietveld 408576698