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

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: MEGAPATCH 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/private_clash_lib.dart
diff --git a/tools/canary.dart b/tests/language/private_clash_lib.dart
similarity index 59%
copy from tools/canary.dart
copy to tests/language/private_clash_lib.dart
index cca1f90cd7be8eb2481a00a89bbc7ba7edaa6d4f..2722aef928234a815f7357f8febb071f9f53baf2 100644
--- a/tools/canary.dart
+++ b/tests/language/private_clash_lib.dart
@@ -2,10 +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.
-// Script which exits with code 42.
+library a$_b;
-import 'dart:io';
+class B {
+ var _c$ = 10; // With library prefix: _a$_b$_c$
-void main() {
- exitCode = 42;
+ getValueA() {
+ try {} catch(e) {} // no inline
+ return this._c$;
+ }
}

Powered by Google App Engine
This is Rietveld 408576698