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

Unified Diff: tests/language/enum_duplicate_lib.dart

Issue 878843003: Support enums in dart2dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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: tests/language/enum_duplicate_lib.dart
diff --git a/tests/html/deferred_multi_app_lib.dart b/tests/language/enum_duplicate_lib.dart
similarity index 81%
copy from tests/html/deferred_multi_app_lib.dart
copy to tests/language/enum_duplicate_lib.dart
index 6ec352d4a43cf336d85abaf9ebc816150ef0d007..fd222b22d00142eff5608858827bd39531ebe4d2 100644
--- a/tests/html/deferred_multi_app_lib.dart
+++ b/tests/language/enum_duplicate_lib.dart
@@ -2,10 +2,9 @@
// 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.
-one() {
- return "one";
-}
+library enum_duplicate_lib;
-two() {
- return "two";
-}
+enum Enum {
+ A,
+ B,
+}

Powered by Google App Engine
This is Rietveld 408576698