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

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

Issue 11416004: Reject deprecated language features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: abstract class in resolver test Created 8 years, 1 month 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/tests/compiler/dart2js/compiler_helper.dart
diff --git a/dart/tests/compiler/dart2js/compiler_helper.dart b/dart/tests/compiler/dart2js/compiler_helper.dart
index 0b91a4c3886e85f49f188957b5b06d6c17ccc167..8ed13eeaca918036f165ee1ae0e8ff82ed264932 100644
--- a/dart/tests/compiler/dart2js/compiler_helper.dart
+++ b/dart/tests/compiler/dart2js/compiler_helper.dart
@@ -21,11 +21,13 @@ import "mock_compiler.dart";
import "parser_helper.dart";
String compile(String code, {String entry: 'main',
+ String coreSource: DEFAULT_CORELIB,
bool enableTypeAssertions: false,
bool minify: false,
bool analyzeAll: false}) {
MockCompiler compiler =
new MockCompiler(enableTypeAssertions: enableTypeAssertions,
+ coreSource: coreSource,
enableMinification: minify);
compiler.parseScript(code);
lego.Element element = compiler.mainApp.find(buildSourceString(entry));

Powered by Google App Engine
This is Rietveld 408576698