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

Unified Diff: tests/compiler/dart2js/mock_compiler.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/mock_compiler.dart
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart
index adbdc766ff0fcb33f9bc3bba06493256fb9969dd..ca86888925e27adc4230c0555c02b756a1b78dd6 100644
--- a/tests/compiler/dart2js/mock_compiler.dart
+++ b/tests/compiler/dart2js/mock_compiler.dart
@@ -167,14 +167,16 @@ class MockCompiler extends Compiler {
bool enableMinification: false,
bool enableConcreteTypeInference: false,
int maxConcreteTypeSize: 5,
- bool analyzeAll: false})
+ bool analyzeAll: false,
+ bool analyzeOnly: false})
: warnings = [], errors = [],
sourceFiles = new Map<String, SourceFile>(),
super(enableTypeAssertions: enableTypeAssertions,
enableMinification: enableMinification,
enableConcreteTypeInference: enableConcreteTypeInference,
maxConcreteTypeSize: maxConcreteTypeSize,
- analyzeAll: analyzeAll) {
+ analyzeAll: analyzeAll,
+ analyzeOnly: analyzeOnly) {
coreLibrary = createLibrary("core", coreSource);
// We need to set the assert method to avoid calls with a 'null'
// target being interpreted as a call to assert.

Powered by Google App Engine
This is Rietveld 408576698