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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/lib/mirror_opt_in_message.dart

Issue 11859012: Change how to opt-in to dart2js mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 7 years, 11 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/sdk/lib/_internal/compiler/implementation/lib/mirror_opt_in_message.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/lib/mirror_opt_in_message.dart b/dart/sdk/lib/_internal/compiler/implementation/lib/mirror_opt_in_message.dart
deleted file mode 100644
index b9743de8f767e647ebe8b6f49efb7a0d688f9a82..0000000000000000000000000000000000000000
--- a/dart/sdk/lib/_internal/compiler/implementation/lib/mirror_opt_in_message.dart
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-part of _js_helper;
-
-// Yeah, seriously: mirrors in dart2js are experimental...
-const String MIRROR_OPT_IN_MESSAGE = """
-
-This program is using an experimental feature called \"mirrors\". As
-currently implemented, mirrors do not work with minification, and will
-cause spurious errors depending on how code was optimized.
-
-The authors of this program are aware of these problems and have
-decided the thrill of using an experimental feature is outweighing the
-risks. Furthermore, the authors of this program understand that
-long-term, to fix the problems mentioned above, mirrors may have
-negative impact on size and performance of Dart programs compiled to
-JavaScript.
-""";

Powered by Google App Engine
This is Rietveld 408576698