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

Unified Diff: tests/compiler/dart2js/backend_dart/dart_new_backend_test.dart

Issue 639733004: Don't emit /* new backend */ comment by default. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/dart_backend/backend_ast_to_frontend_ast.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/backend_dart/dart_new_backend_test.dart
diff --git a/tests/compiler/dart2js/backend_dart/dart_new_backend_test.dart b/tests/compiler/dart2js/backend_dart/dart_new_backend_test.dart
index 11b599fba16b3473ee026b20568cd5842bcea04a..62c6ca8e2d463fc514a507442eee4f7e28f94e84 100644
--- a/tests/compiler/dart2js/backend_dart/dart_new_backend_test.dart
+++ b/tests/compiler/dart2js/backend_dart/dart_new_backend_test.dart
@@ -7,6 +7,8 @@ import 'dart:async';
import 'package:async_helper/async_helper.dart';
import 'package:compiler/implementation/dart2jslib.dart';
import 'package:compiler/implementation/dart_backend/dart_backend.dart';
+import 'package:compiler/implementation/dart_backend/backend_ast_to_frontend_ast.dart'
+ show INSERT_NEW_BACKEND_COMMENT;
const String TestStaticField = """
class Foo {
@@ -51,6 +53,8 @@ Future test(String code, String feature) {
}
main() {
+ INSERT_NEW_BACKEND_COMMENT = true;
+
asyncTest(() => Future.forEach([
() => test(TestStaticField, 'static fields'),
], (f) => f()));
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/dart_backend/backend_ast_to_frontend_ast.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698