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

Unified Diff: tests/language/constructor_name_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/html/custom_element_name_clash_test.html ('k') | tests/language/constructor_name_clash_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/constructor_name_clash_lib.dart
diff --git a/tools/canary.dart b/tests/language/constructor_name_clash_lib.dart
similarity index 67%
copy from tools/canary.dart
copy to tests/language/constructor_name_clash_lib.dart
index cca1f90cd7be8eb2481a00a89bbc7ba7edaa6d4f..46ea6c0b3c621fcd1827750c10de66980b5b3057 100644
--- a/tools/canary.dart
+++ b/tests/language/constructor_name_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 lib;
-import 'dart:io';
+var global = 0;
-void main() {
- exitCode = 42;
+class A {
+ A() {
+ global += 10;
+ try {} catch(e) {} // no inline
+ }
}
« no previous file with comments | « tests/html/custom_element_name_clash_test.html ('k') | tests/language/constructor_name_clash_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698