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

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

Issue 13261008: Check for cyclic reference in typedefs (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 7 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: tests/compiler/dart2js/compiler_helper.dart
diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart
index c816160102a064a5fa6a283782591cc2bc4d90f4..5b287971701a0788d0e3abd333cdf97811ff33dd 100644
--- a/tests/compiler/dart2js/compiler_helper.dart
+++ b/tests/compiler/dart2js/compiler_helper.dart
@@ -77,9 +77,12 @@ String compile(String code, {String entry: 'main',
MockCompiler compilerFor(String code, Uri uri,
{bool analyzeAll: false,
+ bool analyzeOnly: false,
String coreSource: DEFAULT_CORELIB}) {
MockCompiler compiler = new MockCompiler(
- analyzeAll: analyzeAll, coreSource: coreSource);
+ analyzeAll: analyzeAll,
+ analyzeOnly: analyzeOnly,
+ coreSource: coreSource);
compiler.sourceFiles[uri.toString()] = new SourceFile(uri.toString(), code);
return compiler;
}

Powered by Google App Engine
This is Rietveld 408576698