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

Unified Diff: tests/language/private_clash_lib.dart

Issue 891673003: dart2js: Refactoring, documentation, and a few bugfixes in Namer class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 5 years, 10 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 | « tests/language/named_parameter_clash_test.dart ('k') | tests/language/private_clash_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/private_clash_lib.dart
diff --git a/tests/language/enum_duplicate_lib.dart b/tests/language/private_clash_lib.dart
similarity index 59%
copy from tests/language/enum_duplicate_lib.dart
copy to tests/language/private_clash_lib.dart
index b9c84f5109af8178afedae4313ab9056c08b263b..2722aef928234a815f7357f8febb071f9f53baf2 100644
--- a/tests/language/enum_duplicate_lib.dart
+++ b/tests/language/private_clash_lib.dart
@@ -2,13 +2,13 @@
// 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.
-library enum_duplicate_lib;
+library a$_b;
-enum Enum1 {
- A,
- B,
-}
+class B {
+ var _c$ = 10; // With library prefix: _a$_b$_c$
-class Enum2 {
- static Iterable get values => ['Enum2.A', 'Enum2.B'];
+ getValueA() {
+ try {} catch(e) {} // no inline
+ return this._c$;
+ }
}
« no previous file with comments | « tests/language/named_parameter_clash_test.dart ('k') | tests/language/private_clash_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698